AddInServiceProviderGetServiceTService Method TIBCO Spotfire 7.9 API Reference
Gets the service object of the specified type, or null if no such service is available.

Namespace: Spotfire.Dxp.Application.Extension
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 30.0.10915.3380 (30.0.10915.3380)
Syntax

C#
public TService GetService<TService>()

Type Parameters

TService
Specifies the type of service object to get.

Return Value

Type: TService
The service instance, which is an object of type TService.
-or-
null if there is no service object of type TService available.
Version Information

Supported in: 7.9, 7.8, 7.7, 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference