GetService(Type)
- Updated2025-10-06
- 1 minute(s) read
Gets the service object of the specified type.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDCPower
public object GetService(Type serviceType)
Parameters
| Name | Type | Description |
|---|---|---|
| serviceType | Type | An object that specifies the System.Type of service object to get. |
Returns
A service object of type serviceType or null if there is no service object of type serviceType .