Click or drag to resize

UserVariable Interface

The UserVariable interface defines all the public methods and properties that an object representing a SmartFoxServer User Variable exposes.

Namespace:  Sfs2X.Entities.Variables
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public interface UserVariable : Variable

The UserVariable type exposes the following members.

Properties
  NameDescription
Public propertyIsPrivate
Indicates whether this User Variable is private or not.
Public propertyName
Indicates the name of this variable.
(Inherited from Variable.)
Public propertyType
Indicates the type of this variable.
(Inherited from Variable.)
Public propertyValue
Returns the untyped value of this variable.
(Inherited from Variable.)
Top
Methods
  NameDescription
Public methodGetBoolValue
Retrieves the value of a boolean variable.
(Inherited from Variable.)
Public methodGetDoubleValue
Retrieves the value of a double precision variable.
(Inherited from Variable.)
Public methodGetIntValue
Retrieves the value of an integer variable.
(Inherited from Variable.)
Public methodGetSFSArrayValue
Retrieves the value of a SFSArray variable.
(Inherited from Variable.)
Public methodGetSFSObjectValue
Retrieves the value of a SFSObject variable.
(Inherited from Variable.)
Public methodGetStringValue
Retrieves the value of a string variable.
(Inherited from Variable.)
Public methodIsNull
Indicates if the variable is null.
(Inherited from Variable.)
Top
Remarks
In the SmartFoxServer 2X client API this interface is implemented by the SFSUserVariable class. Read the class description for additional informations.
See Also