NI-SCOPE .NET Class Library Help

Table of Contents

NIScope.GetService Method

  • Updated2023-09-06
  • 1 minute(s) read
NIScope.GetService Method

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: Object
A service object of type serviceType, if one exists; otherwise, .

Implements

IServiceProviderGetService(Type)

See Also

Log in to get a better experience