LEADTOOLS (Leadtools.Logging assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Enabled Property
See Also 
Leadtools.Logging.Configuration Namespace > ChannelElement Class : Enabled Property



Gets or sets a value indicating whether this ChannelElement is enabled.

Syntax

Visual Basic (Declaration) 
<ConfigurationPropertyAttribute(Name="enabled", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
Public Property Enabled As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ChannelElement
Dim value As Boolean
 
instance.Enabled = value
 
value = instance.Enabled
C# 
[ConfigurationPropertyAttribute(Name="enabled", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public bool Enabled {get; set;}
C++/CLI 
[ConfigurationPropertyAttribute(Name="enabled", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public:
property bool Enabled {
   bool get();
   void set (    bool value);
}

Property Value

true if enabled; otherwise, false.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Logging requires a Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features