ToolStripPanel.ToolStripPanelRowCollection.IndexOf(ToolStripPanelRow) ToolStripPanel.ToolStripPanelRowCollection.IndexOf(ToolStripPanelRow) ToolStripPanel.ToolStripPanelRowCollection.IndexOf(ToolStripPanelRow) ToolStripPanel.ToolStripPanelRowCollection.IndexOf(ToolStripPanelRow) Method

定义

获取指定的 ToolStripPanelRowToolStripPanel.ToolStripPanelRowCollection 中的索引。Gets the index of the specified ToolStripPanelRow in the ToolStripPanel.ToolStripPanelRowCollection.

public:
 int IndexOf(System::Windows::Forms::ToolStripPanelRow ^ value);
public int IndexOf (System.Windows.Forms.ToolStripPanelRow value);
member this.IndexOf : System.Windows.Forms.ToolStripPanelRow -> int
Public Function IndexOf (value As ToolStripPanelRow) As Integer

参数

返回

指定的 ToolStripPanelRow 的索引。The index of the specified ToolStripPanelRow.

适用于