ServiceManager.Contains<TServiceType> Method ()

.NET Framework (current version)
 

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>()

Return Value

Type: System.Boolean

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

Type Parameters

TServiceType

The type of service to check.

.NET Framework
Available since 4.0
Return to top
Show: