Click or drag to resize

UserGetVariable Method

Retrieves a User Variable from its name.

Namespace:  Sfs2X.Entities
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
UserVariable GetVariable(
	string varName
)

Parameters

varName
Type: SystemString
The name of the User Variable to be retrieved.

Return Value

Type: UserVariable
The object representing the User Variable, or null if no User Variable with the passed name is associated with this user.
See Also