Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Function Contains ( _
value As CommandID _
) As Boolean
'使用
Dim instance As CommandIdCollection
Dim value As CommandID
Dim returnValue As Boolean
returnValue = instance.Contains(value)
public bool Contains(
CommandID value
)
public:
bool Contains(
CommandID^ value
)
public function Contains(
value : CommandID
) : boolean
Parameters
- value
Type: System.ComponentModel.Design.CommandID
Return Value
Type: System.Boolean
Permissions
- 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.