ActivityDesignerAccessibleObject.GetService Method (Type)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns the service defined by the specified type that is associated with the ActivityDesigner.

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

protected object GetService(
	Type serviceType


Type: System.Type

The service Type to request.

Return Value

Type: System.Object

An Object that represents the requested service, or a null reference (Nothing in Visual Basic) if the service cannot be resolved.

.NET Framework
Available since 3.0
Return to top