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. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document