DCPowerWarning.Equals Method (DCPowerWarning, Boolean)
- Updated2024-01-04
- 1 minute(s) read

DCPowerWarningEquals Method (DCPowerWarning, Boolean)
Checks for the equality for the two DCPowerWarning objects considering whether warning message should be compared or not.
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx40 (in NationalInstruments.ModularInstruments.NIDCPower.Fx40.dll) Version: 2023
Syntax
public bool Equals( DCPowerWarning warning, bool ignoreWarningMessage )
Public Function Equals ( warning As DCPowerWarning, ignoreWarningMessage As Boolean ) As Boolean
Parameters
- warning
- Type: NationalInstruments.ModularInstruments.NIDCPowerDCPowerWarning
Specifies the DCPowerWarning object to which this object is compared. - ignoreWarningMessage
- Type: SystemBoolean
Specifies if the warning message must be ignored. If the warning message is to be ignored,then value of ignoreWarningMessage is . If warning message is to be compared then value of ignoreWarningMessage is .
Return Value
Type: Booleanif the two instances are equal; otherwise, .