Edit

Share via


BasicDesignerLoader.GetService(Type) Method

Definition

Gets the requested service.

protected:
 System::Object ^ GetService(Type ^ serviceType);
protected object GetService (Type serviceType);
protected object? GetService (Type serviceType);
member this.GetService : Type -> obj
Protected Function GetService (serviceType As Type) As Object

Parameters

serviceType
Type

The Type of the service.

Returns

The requested service, or null if the requested service cannot be found.

Remarks

GetService is a helper method that allows classes deriving from BasicDesignerLoader to access services offered by the designer loader host.

Applies to