TryGetVariable

public bool TryGetVariable(long id, out Variable variable) ;

Get Variable of id.

Parameter Name Description
id ID
variable Found Variable

Returns true if Variable of id exists. Otherwise returns false.

public bool TryGetVariable(string name, out Variable variable) ;

Get Variable with the name specified by name.

Parameter Name Description
name Name
variable Found Variable

Returns true if a Variable with the name specified by name exists. Returns false otherwise.