Gets the specified property's value and convert it to int.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
protected int GetIntProperty( string name, int defaultValue )
Protected Function GetIntProperty ( _ name As String, _ defaultValue As Integer _ ) As Integer
protected: int GetIntProperty( String^ name, int defaultValue )
protected int GetIntProperty( String name, int defaultValue )
Parameters
- name (String)
- Name of property to retrieve.
- defaultValue (Int32)
- Value to return if the property is not defined
Return Value
Property's value. If the property is not defined defaultValue is returned.