IListContract<C>.RemoveAt(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 the element at the specified index.
public:
void RemoveAt(int index);
public void RemoveAt (int index);
abstract member RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)
Parameters
- index
- Int32
The index of the element to remove.
Exceptions
The IListContract<C> is read-only.
Remarks
After you call RemoveAt, the elements that follow the removed element move to occupy the vacated spot. The indexes of the elements that are moved are also updated.
To determine whether an IListContract<C> is read-only, call the GetIsReadOnly method.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.