Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Inserts the elements of the collection into the service list at the specified index.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub InsertRange ( _
serviceType As Type, _
index As Integer, _
services As IEnumerable(Of Object) _
)
'Usage
Dim instance As ServicesContainer
Dim serviceType As Type
Dim index As Integer
Dim services As IEnumerable(Of Object)
instance.InsertRange(serviceType, index, _
services)
public void InsertRange(
Type serviceType,
int index,
IEnumerable<Object> services
)
public:
void InsertRange(
Type^ serviceType,
int index,
IEnumerable<Object^>^ services
)
member InsertRange :
serviceType:Type *
index:int *
services:IEnumerable<Object> -> unit
public function InsertRange(
serviceType : Type,
index : int,
services : IEnumerable<Object>
)
Parameters
serviceType
Type: System.TypeThe service type.
index
Type: System.Int32The zero-based index at which the new elements should be inserted. If MaxValue is passed, ensures the elements are added to the end.
services
Type: System.Collections.Generic.IEnumerable<Object>The collection of services to insert.