Export (0) Print
Expand All

CategoryNameCollection.IndexOf Method

Gets the index of the specified value.

Namespace:  System.Drawing.Design
Assembly:  System.Drawing (in System.Drawing.dll)

public int IndexOf(
	string value


Type: System.String

The category name to retrieve the index of in the collection.

Return Value

Type: System.Int32
The index in the collection, or null if the string does not exist in the collection.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft