QuickOPC User's Guide and Reference
Enabled Property (AEEventData)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AEEventData Class : Enabled Property
New state of the condition: The condition is enabled.
Syntax
'Declaration
 
<DefaultValueAttribute(False)>
Public Property Enabled As Boolean
'Usage
 
Dim instance As AEEventData
Dim value As Boolean
 
instance.Enabled = value
 
value = instance.Enabled
[DefaultValue(false)]
public bool Enabled {get; set;}
[DefaultValue(false)]
public:
property bool Enabled {
   bool get();
   void set (    bool value);
}
Remarks

This property is used only for Condition-Related Events (see EventType).

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also