編輯

共用方式為


DataGridViewSelectedColumnCollection.Contains(DataGridViewColumn) Method

Definition

Determines whether the specified column is contained in the collection.

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

Parameters

Returns

true if the dataGridViewColumn parameter is in the collection; otherwise, false.

Applies to

See also