共用方式為


ReferenceContext.Remove Method

Remove the association between the specified key and its value from the context, if any.

Namespace:  Microsoft.VisualStudio.Modeling.Integration
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)

Syntax

'宣告
Public Sub Remove ( _
    key As Object _
)
public void Remove(
    Object key
)
public:
void Remove(
    Object^ key
)
member Remove : 
        key:Object -> unit 
public function Remove(
    key : Object
)

Parameters

  • key
    Type: System.Object
    The key of the {key,value} pair to be removed

.NET Framework Security

See Also

Reference

ReferenceContext Class

Microsoft.VisualStudio.Modeling.Integration Namespace