Writes the contents of this configuration element to the configuration file when implemented in a derived class.
protected override bool SerializeElement(XmlWriter writer,bool serializeCollectionKey)
Protected Overrides Function SerializeElement( _ByVal writer As XmlWriter, _ByVal serializeCollectionKey As Boolean _) As Boolean
protected:bool SerializeElement(XmlWriter^ writer,bool serializeCollectionKey) override
writer
The System.Xml.XmlWriter that writes to the configuration file.
serializeCollectionKey
true to serialize only the collection key properties; otherwise, false.
true if any data was actually serialized; otherwise, false.
Exceptions
| Exception | Description |
|---|---|
| System.Configuration.ConfigurationErrorsException | The current attribute is locked at a higher configuration level. |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
