'Declaration
Public Overloads Function GetProperty( _ ByVal name As System.String, _ ByVal defaultValue As System.Object _ ) As System.Object
'Usage
Dim instance As Preferences Dim name As System.String Dim defaultValue As System.Object Dim value As System.Object value = instance.GetProperty(name, defaultValue)
public System.object GetProperty( System.string name, System.object defaultValue )
Parameters
- name
- The property name.
Use slash (/) to logically separate groups of settings. - defaultValue
- The default property value. If no previous property exists, or the preferences store is unavailable, this value will be returned.
Return Value
Returns the property value (with the same type as defaultValue).