Checks for the equality for the two RfsaWarning objects considering whether warning message should be compared or not.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsa

public bool Equals(RfsaWarning warning, bool ignoreWarningMessage)

Parameters

NameTypeDescription
warningRfsaWarning

Specifies the RfsaWarning object to which this object is compared.

ignoreWarningMessagebool

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.