Retrieves a Buddy Variable from its name.

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

Syntax

C#
BuddyVariable GetMyVariable(
	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 the current user.

See Also