編輯

共用方式為


DataGridViewColumnCollection.ICollection.Count Property

Definition

Gets the number of elements in the collection.

property int System::Collections::ICollection::Count { int get(); };
int System.Collections.ICollection.Count { get; }
member this.System.Collections.ICollection.Count : int
 ReadOnly Property Count As Integer Implements ICollection.Count

Property Value

The number of elements in the DataGridViewColumnCollection.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the DataGridViewColumnCollection instance is cast to an ICollection interface.

Applies to

See also