Redigera

Dela via


DesignerActionList.GetService(Type) Method

Definition

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

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

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