Share via


TableLayoutRowStyleCollection.Contains(RowStyle) 方法

定義

判斷 TableLayoutRowStyleCollection 是否包含特定的樣式。

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

參數

rowStyle
RowStyle

要在 TableLayoutRowStyleCollection 中尋找的 RowStyle

傳回

如果在 TableLayoutRowStyleCollection 中找到 RowStyle,則為 true,否則為 false

適用於

另請參閱