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.
Clears value from preferences if that value exists. Does nothing if key is not present.
Namespace: Microsoft.WebMatrix.Extensibility
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Sub ClearValue ( _
key As String _
)
'Usage
Dim instance As IPreferences
Dim key As String
instance.ClearValue(key)
void ClearValue(
string key
)
void ClearValue(
String^ key
)
abstract ClearValue :
key:string -> unit
function ClearValue(
key : String
)
Parameters
key
Type: System.StringThe value from the preference.