Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CategoryNameCollection::IndexOf Method (String^)

 

Gets the index of the specified value.

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

public:
int IndexOf(
	String^ value
)

Parameters

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
Available since 1.1
Return to top
Show:
© 2017 Microsoft