GetService(Type)
- Updated2025-10-14
- 1 minute(s) read
Defines a mechanism for retrieving a service object; that is, an object that provides custom support to other objects. It supports the type NationalInstruments.ModularInstruments.AdvancedPropertyAccessService, Ivi.Driver.IIviDriver and NIRfsa.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsa
public object GetService(Type serviceType)
Parameters
| Name | Type | Description |
|---|---|---|
| serviceType | Type | An object that specifies the type of service object to get. It supports the type NationalInstruments.ModularInstruments.AdvancedPropertyAccessService, Ivi.Driver.IIviDriver and NIRfsa. |
Returns
A service object of type serviceType. Or, null if there is no service object of type serviceType.