SFSBuddyVariable Constructor (String, Object, Int32) |
Creates a new SFSBuddyVariable instance.
Namespace:
Sfs2X.Entities.Variables
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntaxpublic SFSBuddyVariable(
string name,
Object val,
int type
)
Parameters
- name
- Type: SystemString
The name of the Buddy Variable. - val
- Type: SystemObject
The value of the Buddy Variable. - type
- Type: SystemInt32
The type of the Buddy Variable among those available in the VariableType class. Usually it is not necessary to pass this parameter, as the type is auto-detected from the value.
See Also