Get(String,String,String) Method
Gets the value for a string application preference.
Syntax
System.string Get(
System.string categoryName,
System.string prefName,
System.string defaultValue
)Overloads Function Get( _
ByVal categoryName As System.String, _
ByVal prefName As System.String, _
ByVal defaultValue As System.String _
) As System.StringParameters
| Name | Description |
|---|---|
| categoryName | The category that this preference is bucketed under. This should not be null or empty. |
| prefName | The name of the preference that we are getting. |
| defaultValue | The value to retrurn if the prefernece does not exist. |
Return Value
The value of the preference. If the preference does not exist, the value of defaultValue will be returned.