GetServices Method

ServicesContainer::GetServices Method (Type^)

 

Gets a collection of service instanes of a specified type.

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

public:
virtual IEnumerable<Object^>^ GetServices(
	Type^ serviceType
) abstract

Parameters

serviceType
Type: System::Type^

The service type.

Return Value

Type: System.Collections.Generic::IEnumerable<Object^>^

A collection of service instances.

Return to top
Show:
© 2016 Microsoft