Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ getPropertyAsInt()

int Ice::Properties::getPropertyAsInt ( std::string_view key)

Gets a property as an integer.

Parameters
keyThe property key.
Returns
The property value interpreted as an integer, or 0 if the property is not set.
Exceptions
PropertyExceptionThrown when the property value is not a valid integer.
See also
setProperty