NIScope.GetService Method
- Updated2023-09-06
- 1 minute(s) read
NIScopeGetService Method
Defines a mechanism for retrieving a service object (i.e., an object that
provides custom support to other objects). It supports AdvancedPropertyAccessService,
IIviDriver,
IIviScope, and
NIScope.
Namespace: NationalInstruments.ModularInstruments.NIScope
Assembly: NationalInstruments.ModularInstruments.NIScope.Fx45 (in NationalInstruments.ModularInstruments.NIScope.Fx45.dll) Version: 2023
Syntax
public Object GetService( Type serviceType )
Public Function GetService ( serviceType As Type ) As Object
Parameters
- serviceType
- Type: SystemType
The type of the service object to get. It supports AdvancedPropertyAccessService, IIviDriver, IIviScope, and NIScope.
Return Value
Type: ObjectA service object of type serviceType, if one exists; otherwise, .