DesignerActionItemCollection.IndexOf(DesignerActionItem) 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.
Determines the index of a specific item in the collection.
public:
int IndexOf(System::ComponentModel::Design::DesignerActionItem ^ value);
public int IndexOf (System.ComponentModel.Design.DesignerActionItem value);
member this.IndexOf : System.ComponentModel.Design.DesignerActionItem -> int
Public Function IndexOf (value As DesignerActionItem) As Integer
Parameters
- value
- DesignerActionItem
The DesignerActionItem to locate in the collection.
Returns
The zero-based index of the first occurrence of value
within the entire DesignerActionItemCollection, if found; otherwise, -1.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.