Udostępnij za pośrednictwem


ControlCollection.RemoveAt Method

Removes the IList item at the specified index.

Namespace: Microsoft.Uii.Common
Assembly: Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)

Usage

'Usage
Dim instance As ControlCollection
Dim index As Integer

instance.RemoveAt(index)

Syntax

'Declaration
Public Sub RemoveAt ( _
    index As Integer _
)
public void RemoveAt (
    int index
)
public:
virtual void RemoveAt (
    int index
) sealed
public final void RemoveAt (
    int index
)
public final function RemoveAt (
    index : int
)

Parameters

  • index
    The zero-based index of the item to remove.

Exceptions

Exception type Condition
ArgumentOutOfRangeException

index is not a valid index in the IList.

NotSupportedException

The IList is read-only.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

ControlCollection Class
ControlCollection Members
Microsoft.Uii.Common Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.