TableRowCollection.Insert(Int32, TableRow) 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.
Inserts a specified item in the collection at a specified index position.
public:
virtual void Insert(int index, System::Windows::Documents::TableRow ^ item);
public void Insert (int index, System.Windows.Documents.TableRow item);
abstract member Insert : int * System.Windows.Documents.TableRow -> unit
override this.Insert : int * System.Windows.Documents.TableRow -> unit
Public Sub Insert (index As Integer, item As TableRow)
Parameters
- index
- Int32
A zero-based index that specifies the position in the collection at which to insert item
.
- item
- TableRow
An item to insert into the collection.
Implements
Exceptions
Raised when index is less than 0.
Raised when item is null.
Remarks
If Count equals Capacity for this collection, the collection capacity automatically is increased before the new item is inserted. Set index equal to the value of Count, to append a new collection item to the collection.
Indices for existing collection items may be adjusted to accommodate the newly inserted collection item.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기