Click or drag to resize

BaseVariable Class

The BaseVariable object is the base class for all SmartFoxServer Variable entities on the client.
Inheritance Hierarchy

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

The BaseVariable type exposes the following members.

Properties
  NameDescription
Public propertyName
Indicates the name of this variable.
Public propertyType
Indicates the type of this variable.
Public propertyValue
Returns the untyped value of this variable.
Top
Methods
  NameDescription
Public methodGetBoolValue
Retrieves the value of a boolean variable.
Public methodGetDoubleValue
Retrieves the value of a double precision variable.
Public methodGetIntValue
Retrieves the value of an integer variable.
Public methodGetSFSArrayValue
Retrieves the value of a SFSArray variable.
Public methodGetSFSObjectValue
Retrieves the value of a SFSObject variable.
Public methodGetStringValue
Retrieves the value of a string variable.
Public methodIsNull
Indicates if the variable is null.
Top
See Also