DesignerActionList.GetService(Type) Method

Definition

Returns an object that represents a service provided by the component associated with the DesignerActionList.

C#
public object GetService(Type serviceType);
C#
public object? GetService(Type serviceType);

Parameters

serviceType
Type

A service provided by the Component.

Returns

An Object that represents a service provided by the Component. This value is null if the Component does not provide the specified service.

Applies to