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)

private:
virtual Object^ GetService(
	Type^ serviceType
) sealed = IServiceProvider::GetService

Parameters

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
Show: