Retrieves a Buddy Variable from its name.

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

Syntax

C#
BuddyVariable GetVariable(
	string varName
)

Parameters

varName
Type: System..::..String
The name of the Buddy Variable to be retrieved.

Return Value

Type: BuddyVariable
The object representing the Buddy Variable, or null if no Buddy Variable with the passed name is associated with this buddy.

See Also