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
key
Type: System.StringThe preferences key.
value
Type: System.StringThe value.