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