'Declaration<ExtensionAttribute()> Public Shared Function IsMessage( _ ByVal notificationType As SparkplugNotificationType _ ) As Boolean
'UsageDim notificationType As SparkplugNotificationType Dim value As Boolean value = SparkplugNotificationTypeExtension.IsMessage(notificationType)
[Extension()] public static bool IsMessage( SparkplugNotificationType notificationType )
[Extension()] public: static bool IsMessage( SparkplugNotificationType notificationType )
Parameters
- notificationType
- The notification type to evaluate.
Return Value
true if the specified SparkplugNotificationType is a message type (e.g., SparkplugNotificationType.Data, SparkplugNotificationType.Birth, SparkplugNotificationType.Death, or SparkplugNotificationType.Command); otherwise, false.