Partager via


IVsStringMap.RemoveValue Method

Deletes a key-value pair.

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

Syntax

'Declaration
Function RemoveValue ( _
    szKey As String _
) As Integer
int RemoveValue(
    string szKey
)
int RemoveValue(
    [InAttribute] String^ szKey
)
abstract RemoveValue : 
        szKey:string -> int
function RemoveValue(
    szKey : String
) : int

Parameters

  • szKey
    Type: String

    [in] The name of the key for the key-value pair to delete.

Return Value

Type: Int32
Returns S_OK if the key was deleted.

.NET Framework Security

See Also

Reference

IVsStringMap Interface

Microsoft.VisualStudio.Shell.Interop Namespace