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
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk