Writes the contents of this configuration element to the configuration file when implemented in a derived class.
Syntax
Visual Basic (Usage) | Copy Code |
---|
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.
Exceptions
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