SynchronizedReadOnlyCollection.System.Collections.Generic.IList<T>.RemoveAt Method
Throws a NotSupportedException if called.
Namespace: System.Collections.Generic
Assembly: System.ServiceModel (in system.servicemodel.dll)
'Declaration
Private Sub System.Collections.Generic.IList<T>.RemoveAt ( _
index As Integer _
) Implements IList(Of T).RemoveAt
'Usage
Dim instance As SynchronizedReadOnlyCollection(Of T)
Dim index As Integer
CType(instance, IList(Of T)).RemoveAt(index)
void IList<T>.RemoveAt (
int index
)
private:
virtual void System.Collections.Generic.IList<T>.RemoveAt (
int index
) sealed = IList<T>::RemoveAt
Not applicable.
- index
The zero-based index of the element to be retrieved from the collection.
Exception type | Condition |
---|---|
NotSupportedException |
Items cannot be removed from a read-only collection. |
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Supported in: 3.0
SynchronizedReadOnlyCollection Class
SynchronizedReadOnlyCollection Members
System.Collections.Generic Namespace