NI-SWITCH 19.0 .NET Framework 4.0 API Reference

Table of Contents

Equals Method (SwitchWarning, Boolean)

  • Updated2023-02-21
  • 2 minute(s) read
Equals Method (SwitchWarning, Boolean)
Checks if the two NISwitch.SwitchWarning objects are equal by considering whether warning message should be compared or not.

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 Equals ( _
	warning As SwitchWarning, _
	ignoreWarningMessage As Boolean _
) As Boolean
C#
public bool Equals(
	SwitchWarning warning,
	bool ignoreWarningMessage
)

Parameters

warning
Specifies the NISwitch.SwitchWarning object to which this object is compared.
ignoreWarningMessage
Specifies if the warning message must be ignored. If the warning message is to be ignored,then value of ignoreWarningMessage is trueTruetruetrue (True in Visual Basic). If warning message is to be compared then value of ignoreWarningMessage is falseFalsefalsefalse (False in Visual Basic).

Return Value

Type: System..::.Boolean
trueTruetruetrue (True in Visual Basic) if the two instances are equal; otherwise, falseFalsefalsefalse (False in Visual Basic).

See Also

Log in to get a better experience