DataGridViewComboBoxCell.ObjectCollection.AddRange 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 a group of items to the list of items for a DataGridViewComboBoxCell.
Overloads
AddRange(Object[]) |
Adds one or more items to the list of items for a DataGridViewComboBoxCell. |
AddRange(DataGridViewComboBoxCell+ObjectCollection) |
Adds the items of an existing DataGridViewComboBoxCell.ObjectCollection to the list of items in a DataGridViewComboBoxCell. |
AddRange(Object[])
Adds one or more items to the list of items for a DataGridViewComboBoxCell.
public:
void AddRange(... cli::array <System::Object ^> ^ items);
public void AddRange (params object[] items);
member this.AddRange : obj[] -> unit
Public Sub AddRange (ParamArray items As Object())
Parameters
Exceptions
items
is null
.
One or more of the items in the items
array is null
.
-or-
The cell is in a shared row.
The cell's DataSource property value is not null
.
See also
Applies to
AddRange(DataGridViewComboBoxCell+ObjectCollection)
Adds the items of an existing DataGridViewComboBoxCell.ObjectCollection to the list of items in a DataGridViewComboBoxCell.
public:
void AddRange(System::Windows::Forms::DataGridViewComboBoxCell::ObjectCollection ^ value);
public void AddRange (System.Windows.Forms.DataGridViewComboBoxCell.ObjectCollection value);
member this.AddRange : System.Windows.Forms.DataGridViewComboBoxCell.ObjectCollection -> unit
Public Sub AddRange (value As DataGridViewComboBoxCell.ObjectCollection)
Parameters
The DataGridViewComboBoxCell.ObjectCollection to load into this collection.
Exceptions
value
is null
.
One or more of the items in the value
collection is null
.
-or-
The cell is in a shared row.
The cell's DataSource property value is not null
.
See also
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기