.NET API Reference for Oracle Identity Connector Framework 11.1.2
E41516-01
Creates a
 Copy imageCopy
BinaryObjectSerializer
for writing objects to the given stream.

Namespace: Org.IdentityConnectors.Framework.Common.Serializer
Assembly: Framework (in Framework.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public abstract XmlObjectSerializer NewXmlSerializer(
	TextWriter w,
	bool includeHeader,
	bool multiObject
)

Parameters

w
Type: System.IO..::..TextWriter
The writer
includeHeader
Type: System..::..Boolean
True to include the xml header
multiObject
Type: System..::..Boolean
Is this to produce a multi-object document. If false, only a single object may be written.

Return Value

Type: XmlObjectSerializer
The serializer

Remarks

NOTE: consider using SerializeXmlObject(Object, Boolean) for convenience serializing a single object. NOTE2: do not mix and match SerializeXmlObject(Object, Boolean) with {DeserializeXmlStream(TextReader, XmlObjectResultsHandler, Boolean).

See Also