'Declaration<ExtensionAttribute()> Public Shared Function IsStatus( _ ByVal notificationType As SparkplugNotificationType _ ) As Boolean
'UsageDim notificationType As SparkplugNotificationType Dim value As Boolean value = SparkplugNotificationTypeExtension.IsStatus(notificationType)
[Extension()] public static bool IsStatus( SparkplugNotificationType notificationType )
[Extension()] public: static bool IsStatus( SparkplugNotificationType notificationType )
Parameters
- notificationType
- The SparkplugNotificationType to evaluate.
Return Value
true if the notificationType is SparkplugNotificationType.Connect or SparkplugNotificationType.Disconnect; otherwise, false.