Gets or sets a value indicating whether this
ILoggingChannel is enabled.
Syntax
Visual Basic (Declaration) | |
---|
Property Enabled As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ILoggingChannel
Dim value As Boolean
instance.Enabled = value
value = instance.Enabled |
C# | |
---|
bool Enabled {get; set;} |
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