Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to v2.
Check whether the preference contains a particular value.
Namespace: Microsoft.WebMatrix.Extensibility
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Function ContainsValue ( _
key As String _
) As Boolean
'Usage
Dim instance As IPreferences
Dim key As String
Dim returnValue As Boolean
returnValue = instance.ContainsValue(key)
bool ContainsValue(
string key
)
bool ContainsValue(
String^ key
)
abstract ContainsValue :
key:string -> bool
function ContainsValue(
key : String
) : boolean
Parameters
key
Type: System.StringPreferences key name.
Return Value
Type: System.Boolean
True if value has been set; otherwise, false.