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



name
The name of the unrecognized attribute.
value
The value of the unrecognized attribute.
name
The name of the unrecognized attribute.
value
The value of the unrecognized attribute.
Gets a value indicating whether an unknown attribute is encountered during deserialization.

Syntax

Visual Basic (Declaration) 
Overrides Protected Function OnDeserializeUnrecognizedAttribute( _
   ByVal name As String, _
   ByVal value As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ChannelElement
Dim name As String
Dim value As String
Dim value As Boolean
 
value = instance.OnDeserializeUnrecognizedAttribute(name, value)
C# 
protected override bool OnDeserializeUnrecognizedAttribute( 
   string name,
   string value
)
C++/CLI 
protected:
bool OnDeserializeUnrecognizedAttribute( 
   String^ name,
   String^ value
) override 

Parameters

name
The name of the unrecognized attribute.
value
The value of the unrecognized attribute.

Return Value

true when an unknown attribute is encountered while deserializing; otherwise, false.

Remarks

This method allows you to specify ILoggingChannel properties as attributes in the configuration file. If the attributes can be resolved to properties they will be initialized with the values.

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