UndoEngine.GetService Method (Type)

 

Gets the requested service.

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

protected object GetService(
	Type serviceType
)

Parameters

serviceType
Type: System.Type

The type of service to retrieve.

Return Value

Type: System.Object

The requested service, or null if the requested service is not found.

Exception Condition
ArgumentNullException

serviceType is null.

.NET Framework
Available since 2.0
Return to top
Show: