Sdílet prostřednictvím


IPreferences.SetValue Method

Applies to v2.

Sets a value in the store. Overwrites the existing value if there is one.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Sub SetValue ( _
    key As String, _
    value As String _
)
'Usage
Dim instance As IPreferences 
Dim key As String 
Dim value As String

instance.SetValue(key, value)
void SetValue(
    string key,
    string value
)
void SetValue(
    String^ key, 
    String^ value
)
abstract SetValue : 
        key:string * 
        value:string -> unit
function SetValue(
    key : String, 
    value : String
)

Parameters

See Also

Reference

IPreferences Interface

Microsoft.WebMatrix.Extensibility Namespace