TableRowGroupCollection.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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應