Share via


ServicesContainer.RemoveAt Method (Type, Int32)

 

Removes the service at the specified index.

Namespace:   System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

public void RemoveAt(
    Type serviceType,
    int index
)
public:
void RemoveAt(
    Type^ serviceType,
    int index
)
member RemoveAt : 
        serviceType:Type *
        index:int -> unit
Public Sub RemoveAt (
    serviceType As Type,
    index As Integer
)

Parameters

  • index
    Type: System.Int32

    The zero-based index of the service to remove.

See Also

ServicesContainer Class
System.Web.Http.Controllers Namespace

Return to top