DesignerOptionService::DesignerOptionCollection::IndexOf Method (DesignerOptionService::DesignerOptionCollection^)
.NET Framework (current version)
Returns the index of the first occurrence of a given value in a range of this collection.
Assembly: System (in System.dll)
Parameters
- value
-
Type:
System.ComponentModel.Design::DesignerOptionService::DesignerOptionCollection^
The object to locate in the collection.
Return Value
Type: System::Int32The index of the first occurrence of value within the entire collection, if found; otherwise, the lower bound of the collection minus 1.
The collection is searched, in one direction, from beginning to end.
.NET Framework
Available since 2.0
Available since 2.0
Show: