GlobalTypeCollection.Contains Method
Determines whether the specified item is in the collection
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣告
Public Function Contains ( _
item As GlobalType _
) As Boolean
public bool Contains(
GlobalType item
)
Parameters
- item
Type: Microsoft.VisualStudio.Shell.Design.GlobalType
The item to find.
Return Value
Type: System.Boolean
true if this collection contains the given item, otherwise false.
.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.