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

Adds a setting.

Syntax

protected:
Setting& Add(
         MpsdMap &map,
         const utility::string_t name,
         const wchar_t *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: wchar_t *

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