Share via


ServicesContainer.RemoveAt Method

Removes the service at the specified index.

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

Syntax

'Declaration
Public Sub RemoveAt ( _
    serviceType As Type, _
    index As Integer _
)
'Usage
Dim instance As ServicesContainer 
Dim serviceType As Type 
Dim index As Integer

instance.RemoveAt(serviceType, index)
public void RemoveAt(
    Type serviceType,
    int index
)
public:
void RemoveAt(
    Type^ serviceType, 
    int index
)
member RemoveAt : 
        serviceType:Type * 
        index:int -> unit
public function RemoveAt(
    serviceType : Type, 
    index : int
)

Parameters

  • index
    Type: System.Int32

    The zero-based index of the service to remove.

See Also

Reference

ServicesContainer Class

System.Web.Http.Controllers Namespace