UserProperties.GetPropertyInt

GetPropertyInt(string)

Gets integer property value.

public virtual int GetPropertyInt(string key)
ParameterTypeDescription
keyStringThe name of property.

Return Value

Property value.

See Also


GetPropertyInt(string, int)

Gets integer property value. If requested property is absent, returns provided default value.

public virtual int GetPropertyInt(string key, int defValue)
ParameterTypeDescription
keyStringThe name of property.
defValueInt32Default value of property.

Return Value

Property value.

See Also