OnDeserializeUnrecognizedAttribute Method

Summary
Gets a value indicating whether an unknown attribute is encountered during deserialization.
Syntax
C#
VB
C++
protected override bool OnDeserializeUnrecognizedAttribute( 
   string name, 
   string value 
) 
  
Protected Overrides Function OnDeserializeUnrecognizedAttribute( _ 
   ByVal name As String, _ 
   ByVal value As String _ 
) As Boolean 
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

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Logging Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.