Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ServiceModelExtensionElement::SerializeElement Method (XmlWriter^, Boolean)

 

Writes the contents of this configuration element to the configuration file.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected:
virtual bool SerializeElement(
	XmlWriter^ writer,
	bool serializeCollectionKey
) override

Parameters

writer
Type: System.Xml::XmlWriter^

The XmlWriter that is used to write to the configuration file.

serializeCollectionKey
Type: System::Boolean

true to serialize only the collection key properties; otherwise, false.

Return Value

Type: System::Boolean

true if any data was actually serialized; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft