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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.