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
'Declaration
Public Function Contains ( _
item As GlobalType _
) As Boolean
public bool Contains(
GlobalType item
)
public:
bool Contains(
GlobalType^ item
)
member Contains :
item:GlobalType -> bool
public function Contains(
item : GlobalType
) : boolean
Parameters
item
Type: Microsoft.VisualStudio.Shell.Design.GlobalTypeThe item to find.
Return Value
Type: 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.