ListView.ColumnHeaderCollection.AddRange(ColumnHeader[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an array of column headers to the collection.
public:
virtual void AddRange(cli::array <System::Windows::Forms::ColumnHeader ^> ^ values);
public:
virtual void AddRange(... cli::array <System::Windows::Forms::ColumnHeader ^> ^ values);
public virtual void AddRange (System.Windows.Forms.ColumnHeader[] values);
public virtual void AddRange (params System.Windows.Forms.ColumnHeader[] values);
abstract member AddRange : System.Windows.Forms.ColumnHeader[] -> unit
override this.AddRange : System.Windows.Forms.ColumnHeader[] -> unit
Public Overridable Sub AddRange (values As ColumnHeader())
Public Overridable Sub AddRange (ParamArray values As ColumnHeader())
Parameters
- values
- ColumnHeader[]
An array of ColumnHeader objects to add to the collection.
Remarks
You can use this method to reuse the column headers used in a different ListView control. If you want to add a single ColumnHeader, use the Add method. You can also use the Insert method if you want to add a single ColumnHeader at a specific position in the collection.
Applies to
See also
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET