Method IsMatch
IsMatch(int)
Indicates whether the Harp message matches the specified address.
public bool IsMatch(int address)
Parameters
addressintThe address to test for a match.
Returns
- bool
trueif this Harp message matches the specified address; otherwise,false.
IsMatch(int, MessageType)
Indicates whether the Harp message matches the specified address and message type.
public bool IsMatch(int address, MessageType messageType)
Parameters
addressintThe address to test for a match.
messageTypeMessageTypeThe message type to test for a match.
Returns
- bool
trueif this Harp message matches the specified address and message type; otherwise,false.
IsMatch(int, PayloadType)
Indicates whether the Harp message matches the specified address and payload type.
public bool IsMatch(int address, PayloadType payloadType)
Parameters
addressintThe address to test for a match.
payloadTypePayloadTypeThe payload type to test for a match.
Returns
- bool
trueif this Harp message matches the specified address and payload type; otherwise,false.
IsMatch(int, MessageType, PayloadType)
Indicates whether the Harp message matches the specified address, message type, and payload type.
public bool IsMatch(int address, MessageType messageType, PayloadType payloadType)
Parameters
addressintThe address to test for a match.
messageTypeMessageTypeThe message type to test for a match.
payloadTypePayloadTypeThe payload type to test for a match.
Returns
- bool
trueif this Harp message matches the specified address, message type, and payload type; otherwise,false.