ToolStripPanel.ToolStripPanelRowCollection.Contains(ToolStripPanelRow) ToolStripPanel.ToolStripPanelRowCollection.Contains(ToolStripPanelRow) ToolStripPanel.ToolStripPanelRowCollection.Contains(ToolStripPanelRow) ToolStripPanel.ToolStripPanelRowCollection.Contains(ToolStripPanelRow) Method

定义

确定指定的 ToolStripPanelRow 是否在 ToolStripPanel.ToolStripPanelRowCollection 中。Determines whether the specified ToolStripPanelRow is in the ToolStripPanel.ToolStripPanelRowCollection.

public:
 bool Contains(System::Windows::Forms::ToolStripPanelRow ^ value);
public bool Contains (System.Windows.Forms.ToolStripPanelRow value);
member this.Contains : System.Windows.Forms.ToolStripPanelRow -> bool
Public Function Contains (value As ToolStripPanelRow) As Boolean

参数

返回

如果指定的 ToolStripPanelRowToolStripPanel.ToolStripPanelRowCollection 中,则为 true;否则为 falsetrue if the specified ToolStripPanelRow is in the ToolStripPanel.ToolStripPanelRowCollection; otherwise, false.

适用于