GlobalObjectCollection::Contains Method (GlobalObject^)

 

Determines whether this collection contains the given item.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

public:
bool Contains(
	GlobalObject^ item
)

Parameters

item
Type: Microsoft.VisualStudio.Shell.Design::GlobalObject^

An object that will have its collection membership verified.

Return Value

Type: System::Boolean

true if the collection contains the object, otherwise false.

Return to top
Show: