PersistenceProviderElement.SerializeElement(XmlWriter, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the contents of this configuration element to the configuration file.
protected:
override bool SerializeElement(System::Xml::XmlWriter ^ writer, bool serializeCollectionKey);
protected override bool SerializeElement (System.Xml.XmlWriter writer, bool serializeCollectionKey);
override this.SerializeElement : System.Xml.XmlWriter * bool -> bool
Protected Overrides Function SerializeElement (writer As XmlWriter, serializeCollectionKey As Boolean) As Boolean
Parameters
- serializeCollectionKey
- Boolean
true
to serialize only the collection key properties; otherwise, false
.
Returns
true
if any data was actually serialized; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.