Setting::Add Method (MpsdMap&, const utility::string_t&, const bool&) [Xbox Live Compute]

Adds a setting.

Syntax

protected:
Setting& Add(
         MpsdMap &map,
         const utility::string_t &name,
         const bool &value
)  

Parameters

map
Type: MpsdMap 

The map to add the setting to. This will either be the m_system or m_custom protected member.

name
Type: utility::string_t 

The name of the setting.

value
Type: bool 

The value of the setting.

Return value

Type: Setting 

The updated Setting instance.

Requirements

Header: Declared in MultiplayerSession.h.

Library: Use GSDK110.lib (VS 2012) or GSDK100.lib (VS 2010).

See also

Reference

Setting

Setting Members