SmartFoxServer Silverlight API
myBuddyVars Field
Namespaces ► SmartFoxClientAPI ► SmartFoxClient ► myBuddyVars
The current user's Buddy Variables.
This is a dictionary containing the current user's properties when he/she is present in the buddy lists of other users.
See the SetBuddyVariables(Dictionary<(Of <(String, Object>)>)) method for more details.
Declaration Syntax

C# | Visual Basic | Visual C++

    public Dictionary<string, Object> myBuddyVars

    Public myBuddyVars As Dictionary(Of String, Object)

    public:
    Dictionary<String^, Object^>^ myBuddyVars

Remarks

Version:
SmartFoxServer Basic (except block status) / Pro

Since:
SmartFoxServer Pro v1.6.0

Examples
The following example shows how to read the current user's own Buddy Variables.
CopyC#

    foreach (string v in smartFox.myBuddyVars.Keys)
        Debug.WriteLine("Variable " + v + " -- " + smartFox.myBuddyVars[v]);

See Also
SetBuddyVariables(Dictionary<(Of <(String, Object>)>))
GetBuddyById(Int32)
GetBuddyByName(String)
SFSEvent..::.OnBuddyListDelegate
SFSEvent..::.OnBuddyListUpdateDelegate

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