GlobalTypeCollection.IndexOf(GlobalType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the position of the specified item.
public:
int IndexOf(Microsoft::VisualStudio::Shell::Design::GlobalType ^ item);
public int IndexOf (Microsoft.VisualStudio.Shell.Design.GlobalType item);
member this.IndexOf : Microsoft.VisualStudio.Shell.Design.GlobalType -> int
Public Function IndexOf (item As GlobalType) As Integer
Parameters
- item
- GlobalType
The item to find.
Returns
The index at which the item was found, or -1 if it is not in the collection.