Equals(DCPowerWarning, bool)
- Updated2025-10-06
- 1 minute(s) read
Checks for the equality for the two DCPowerWarning objects considering whether warning message should be compared or not.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDCPower
public bool Equals(DCPowerWarning warning, bool ignoreWarningMessage)
Parameters
| Name | Type | Description |
|---|---|---|
| warning | DCPowerWarning | Specifies the DCPowerWarning object to which this object is compared. |
| ignoreWarningMessage | bool | Specifies if the warning message must be ignored. If the warning message is to be ignored,then value of ignoreWarningMessage is true. If warning message is to be compared then value of ignoreWarningMessage is false. |
Returns
true if the two instances are equal; otherwise, false.