Moves the object at the specified index from the
ObjectView to
to the connected
ObjectSet'sRemovedList.
All objects on the
RemovedList are deleted
when the changes on the
ObjectSet are persisted.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Sub RemoveAt( _
ByVal index As Integer _
) |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As ObjectView(Of T)
Dim index As Integer
instance.RemoveAt(index)
|
| C# | |
|---|
public void RemoveAt(
int index
) |
| Managed Extensions for C++ | |
|---|
public: void RemoveAt(
int index
) |
| C++/CLI | |
|---|
public:
void RemoveAt(
int index
) |
Parameters
- index
- The zero-based index of the item to move.
Exceptions
| Exception | Description |
| ArgumentOutOfRangeException | Index is less than zero or index is equal to
or greater than Count. |
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also