Bagikan melalui


IVsSettingsStorageContainer.SetValue Method

Sets a value for the specified key.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)

Syntax

'Declaration
Sub SetValue ( _
    key As String, _
    value As String _
)
void SetValue(
    string key,
    string value
)
void SetValue(
    [InAttribute] String^ key, 
    [InAttribute] String^ value
)
abstract SetValue : 
        key:string * 
        value:string -> unit
function SetValue(
    key : String, 
    value : String
)

Parameters

  • key
    Type: String

    The key.

  • value
    Type: String

    The value.

.NET Framework Security

See Also

Reference

IVsSettingsStorageContainer Interface

Microsoft.VisualStudio.Shell.Interop Namespace