ServiceManager.Contains Method (Type)

.NET Framework (current version)

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

Returns a Boolean value that indicates whether the service manager contains a service of the given type.

Namespace:   System.Activities.Presentation
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public abstract bool Contains(
	Type serviceType


Type: System.Type

The type of service to check.

Return Value

Type: System.Boolean

true if a service of type serviceType has been published; otherwise, false.

.NET Framework
Available since 4.0
Return to top