Retrieves a Room Variable from its name.

Namespace: Sfs2X.Entities
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.3.0 (1.7.3)

Syntax

C#
RoomVariable GetVariable(
	string name
)

Parameters

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

Return Value

Type: RoomVariable
The object representing the Room Variable, or null if no Room Variable with the passed name exists in this Room.

See Also