แก้ไข

แชร์ผ่าน


DesignerOptionService.DesignerOptionCollection.IndexOf Method

Definition

Returns the index of the first occurrence of a given value in a range of this collection.

public:
 int IndexOf(System::ComponentModel::Design::DesignerOptionService::DesignerOptionCollection ^ value);
public int IndexOf (System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection value);
member this.IndexOf : System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection -> int
Public Function IndexOf (value As DesignerOptionService.DesignerOptionCollection) As Integer

Parameters

value
DesignerOptionService.DesignerOptionCollection

The object to locate in the collection.

Returns

The index of the first occurrence of value within the entire collection, if found; otherwise, the lower bound of the collection minus 1.

Remarks

The collection is searched, in one direction, from beginning to end.

Applies to

See also