AddIn ServiceProvider GetService TService  Method TIBCO Spotfire 6.0 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: 13.19.7018.3940 (13.19.7018.3940)
Syntax

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.
See Also