Gets the specified property's value and convert it to int.

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 )

- name (String)
- Name of property to retrieve.
- defaultValue (Int32)
- Value to return if the property is not defined

Property's value. If the property is not defined defaultValue is returned.