GlobalObjectCollection.Contains Method
Determines whether this collection contains the given item.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public Function Contains ( _
item As GlobalObject _
) As Boolean
public bool Contains(
GlobalObject item
)
public:
bool Contains(
GlobalObject^ item
)
member Contains :
item:GlobalObject -> bool
public function Contains(
item : GlobalObject
) : boolean
Parameters
item
Type: Microsoft.VisualStudio.Shell.Design.GlobalObjectAn object that will have its collection membership verified.
Return Value
Type: Boolean
true if the collection contains the object, 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.