Retrieves a User Variable from its name.

Namespace: Sfs2X.Entities
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
UserVariable GetVariable(
	string varName
)

Parameters

varName
Type: System..::..String
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