共用方式為


ReferenceContext.Contains Method

Query whether the specified key has been associated with a value in this context

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

Syntax

'宣告
Public Function Contains ( _
    key As Object _
) As Boolean
public bool Contains(
    Object key
)
public:
bool Contains(
    Object^ key
)
member Contains : 
        key:Object -> bool 
public function Contains(
    key : Object
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the key is found, else false.

.NET Framework Security

See Also

Reference

ReferenceContext Class

Microsoft.VisualStudio.Modeling.Integration Namespace