Writes the contents of this configuration element to the configuration file when implemented in a derived class.
'Declaration
Protected Overrides Function SerializeElement( _
ByVal As XmlWriter, _
ByVal 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)
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.