Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.