public TryGetCurrentCustomVariableValue ( string name, object &value ) : bool | ||
name | string | |
value | object | |
return | bool |
public bool TryGetCurrentCustomVariableValue(string name, out object value)
{
value = null;
foreach (PropertyValuePair pvp in mCustomVariables)
{
if (pvp.Property == name)
{
value = pvp.Value;
return true;
}
}
return false;
}