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
serviceType
Type: System.TypeThe service type.
index
Type: System.Int32The zero-based index of the service to remove.
See Also
ServicesContainer Class
System.Web.Http.Controllers Namespace
Return to top