SecurityElementBase.SerializeToXmlElement(XmlWriter, String) 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 outer tags of this configuration element to the configuration file.
protected:
override bool SerializeToXmlElement(System::Xml::XmlWriter ^ writer, System::String ^ elementName);
protected override bool SerializeToXmlElement (System.Xml.XmlWriter writer, string elementName);
override this.SerializeToXmlElement : System.Xml.XmlWriter * string -> bool
Protected Overrides Function SerializeToXmlElement (writer As XmlWriter, elementName As String) As Boolean
Parameters
- elementName
- String
The name of the ConfigurationElement to be written.
Returns
true
if the serialization is successful; 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.