GlobalObjectCollection::IndexOf Method (GlobalObject^)
Visual Studio 2015
Gets the position of an object in the collection.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Parameters
- item
-
Type:
Microsoft.VisualStudio.Shell.Design::GlobalObject^
An item that should have its offset retrieved.
Return Value
Type: System::Int32The position of the object in the collection, or -1 if the object is not in the collection.
Show: