SmartFoxServer Silverlight API
Buddy Constructor (id, name, isOnline, isBlocked, variables)
Namespaces ► SmartFoxClientAPI.Data ► Buddy ► Buddy(Int32, String, Boolean, Boolean, Dictionary<(Of <(String, Object>)>))
Buddy constructor.
Declaration Syntax

C# | Visual Basic | Visual C++

    public Buddy(
    	int id,
    	string name,
    	bool isOnline,
    	bool isBlocked,
    	Dictionary<string, Object> variables
    )

    Public Sub New ( _
    	id As Integer, _
    	name As String, _
    	isOnline As Boolean, _
    	isBlocked As Boolean, _
    	variables As Dictionary(Of String, Object) _
    )

    public:
    Buddy(
    	int id,
    	String^ name,
    	bool isOnline,
    	bool isBlocked,
    	Dictionary<String^, Object^>^ variables
    )

Parameters

id (Int32)
  the buddy id

name (String)
  the buddy name

isOnline (Boolean)
  true if the buddy is online

isBlocked (Boolean)
  true if the buddy is blocked

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

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