Modifier

Partager via


TableLayoutColumnStyleCollection.Contains(ColumnStyle) Method

Definition

Determines whether the specified ColumnStyle is in the collection.

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

Parameters

columnStyle
ColumnStyle

The ColumnStyle to locate in the TableLayoutColumnStyleCollection. The value can be null.

Returns

true if the ColumnStyle is found in the TableLayoutColumnStyleCollection; otherwise, false.

Applies to

See also