SmartFoxServer Silverlight API
SetVariables Method (variables)
Namespaces ► SmartFoxClientAPI.Data ► Buddy ► SetVariables(Dictionary<(Of <(String, Object>)>))
Overrides the buddy variables with a complete new set of variables
Declaration Syntax

C# | Visual Basic | Visual C++

    public void SetVariables(
    	Dictionary<string, Object> variables
    )

    Public Sub SetVariables ( _
    	variables As Dictionary(Of String, Object) _
    )

    public:
    void SetVariables(
    	Dictionary<String^, Object^>^ variables
    )

Parameters

variables (Dictionary<(Of <(String, Object>)>))

Remarks
Version:
SmartFoxServer Basic / Pro
Examples
CopyC#

    Dictionary<string, object6gt; newVariables = new Dictionary<string, object>();
    buddy.SetVariables(newVariables);

Assembly: SmartFoxClientAPI_Silverlight (Module: SmartFoxClientAPI_Silverlight) Version: 1.0.0.0 (1.0.0.0)