TableRowCollection.RemoveRange(Int32, Int32) 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.
Removes a range of items, specified by beginning index and count, from the collection.
public:
void RemoveRange(int index, int count);
public void RemoveRange (int index, int count);
member this.RemoveRange : int * int -> unit
Public Sub RemoveRange (index As Integer, count As Integer)
Parameters
- index
- Int32
A zero-based index indicating the beginning of a range of items to remove.
- count
- Int32
The number of items to remove, beginning form the position specified by index
.
Exceptions
Raised when index or count is less than zero, or when index is greater than or equal to Count.
Raised when index and count do not specify a valid range in this collection.
Remarks
Indices for remaining collection items may be adjusted to reflect the removed collection items.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback을 참조하세요.
출시 예정: 2024년 내내 콘텐츠 피드백 메커니즘인 GitHub 문제를 단계적으로 폐지하고 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은다음에 대한 사용자 의견 제출 및 보기