Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ServicesContainer.InsertRange Method (Type, Int32, IEnumerable<Object>)

 

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)

public void InsertRange(
	Type serviceType,
	int index,
	IEnumerable<object> services
)

Parameters

serviceType
Type: System.Type

The service type.

index
Type: System.Int32

The 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.

Return to top
Show:
© 2015 Microsoft