LEADTOOLS (Leadtools.Logging assembly)
LEAD Technologies, Inc

SerializeElement Method






The System.Xml.XmlWriter that writes to the configuration file.
true to serialize only the collection key properties; otherwise, false.
Writes the contents of this configuration element to the configuration file when implemented in a derived class.
Syntax
protected override bool SerializeElement( 
   XmlWriter writer,
   bool serializeCollectionKey
)
'Declaration
 
Protected Overrides Function SerializeElement( _
   ByVal writer As XmlWriter, _
   ByVal serializeCollectionKey As Boolean _
) As Boolean
'Usage
 
Dim instance As ChannelElement
Dim writer As XmlWriter
Dim serializeCollectionKey As Boolean
Dim value As Boolean
 
value = instance.SerializeElement(writer, serializeCollectionKey)
protected override bool SerializeElement( 
   XmlWriter writer,
   bool serializeCollectionKey
)
 function Leadtools.Logging.Configuration.ChannelElement.SerializeElement( 
   writer ,
   serializeCollectionKey 
)
protected:
bool SerializeElement( 
   XmlWriter^ writer,
   bool serializeCollectionKey
) override 

Parameters

writer
The System.Xml.XmlWriter that writes to the configuration file.
serializeCollectionKey
true to serialize only the collection key properties; otherwise, false.

Return Value

true if any data was actually serialized; otherwise, false.
Exceptions
ExceptionDescription
System.Configuration.ConfigurationErrorsException The current attribute is locked at a higher configuration level.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ChannelElement Class
ChannelElement Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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