Share via


GlobalObjectCollection.Contains(GlobalObject) Method

Definition

Determines whether this collection contains the given item.

public:
 bool Contains(Microsoft::VisualStudio::Shell::Design::GlobalObject ^ item);
public bool Contains (Microsoft.VisualStudio.Shell.Design.GlobalObject item);
member this.Contains : Microsoft.VisualStudio.Shell.Design.GlobalObject -> bool
Public Function Contains (item As GlobalObject) As Boolean

Parameters

item
GlobalObject

An object that will have its collection membership verified.

Returns

true if the collection contains the object, otherwise false.

Applies to