LEADTOOLS (Leadtools.Logging assembly)

SerializeElement Method

Show in webframe





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:
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

See Also

Reference

ChannelElement Class
ChannelElement Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 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