IPreferences.ClearValue Method

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

See Also

Reference

IPreferences Interface

Microsoft.WebMatrix.Extensibility Namespace