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
serviceType
Type: System.TypeThe service type.
index
Type: System.Int32The zero-based index of the service to remove.