DesignerActionList.GetService Method (Type)

 

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

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

public object GetService(
	Type serviceType
)

Parameters

serviceType
Type: System.Type

A service provided by the Component.

Return Value

Type: System.Object

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

.NET Framework
Available since 2.0
Return to top
Show: