IServiceProvider.GetService Method

TypeBrowserDialog.IServiceProvider.GetService Method (Type)


Retrieves the service object for the specified type.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

object IServiceProvider.GetService(
	Type serviceType


Type: System.Type

The Type of service object to retrieve.

Return Value

Type: System.Object

A service object of type serviceType, or a null reference (Nothing in Visual Basic) if there is no service object of type serviceType.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft