AddInServiceProviderGetService Method (Type) TIBCO Spotfire 7.6 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: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
public Object GetService(
	Type serviceType
)

Parameters

serviceType
Type: SystemType
A type object that specifies the type of service object to get.

Return Value

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

Implements

IServiceProviderGetService(Type)
Version Information

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

Reference