Click or drag to resize

RoomGetVariable Method

Retrieves a Room Variable from its name.

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

Parameters

name
Type: SystemString
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