NI-SWITCH 19.0 .NET Framework 4.0 API Reference

Table of Contents

DangerousGetInstrumentHandle Method

  • Updated2023-02-21
  • 2 minute(s) read
DangerousGetInstrumentHandle Method
Returns the value of the underlying instrument handle.

Namespace:  NationalInstruments.ModularInstruments.NISwitch
Assembly:  NationalInstruments.ModularInstruments.NISwitch.Fx40 (in NationalInstruments.ModularInstruments.NISwitch.Fx40.dll) Version: 19.0.0.49152 (19.0.0.49152)
Visual Basic (Declaration)
Public Function DangerousGetInstrumentHandle As IntPtr
C#
public IntPtr DangerousGetInstrumentHandle()

Return Value

Type: System..::.IntPtr
Returns an IntPtr representing the value of the underlying instrument handle.

Exceptions

ExceptionCondition
ObjectDisposedException The DangerousGetInstrumentHandle method was accessed after the associated NISwitch.NISwitch object was disposed.

See Also

Log in to get a better experience