Export (0) Print
Expand All

ServiceManager.Contains<TServiceType> Method

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 bool Contains<TServiceType>()

Type Parameters

TServiceType

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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft