get_property_as_int


Description:

public int get_property_as_int (string key)

Look up the value for key on this and convert it to an integer using strtol.

Parameters:

this

A Device.

key

Name of property.

Returns:

The value for key or 0 if key doesn't exist or isn't an integer.