DesignerWindowPane::GetService Method (Type^)

 

Gets the service of the specified type.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

protected:
virtual Object^ GetService(
	Type^ serviceType
) override

Parameters

serviceType
Type: System::Type^

A Type that specifies the type of service object to get.

Return Value

Type: System::Object^

A service object of type serviceType.

-or-

null if there is no service object of type serviceType.

Exception Condition
ArgumentNullException

serviceType is null.

Return to top
Show: