Checks for the equality for the two RfsgWarning object considering whether warning message should be compared or not.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsg

public bool Equals(RfsgWarning warning, bool ignoreWarningMessage)

Parameters

NameTypeDescription
warningRfsgWarning

Specifies the RfsgWarning 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 the warning message is to be compared, then value of ignoreWarningMessage is false.

Returns

true if the two instances are equal; otherwise, false.