Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

Desk Phone API features described in this section are deprecated and supported only on the following models: D40, d45, d50, d60, d62, d65, d70

XMLSerializer

Similar to standard XMLSerializer. Used to convert a DOM document into a valid XML string.

...

Creates a new XMLSerializer object

Code Block
var serializer = new XMLSerializer();

Initialization Parameters

None

Methods

Name 

Description 

serializeToString

Serialize a DOM document object to an XML string.

Basic Example:

Code Block
var serializer = new XMLSerializer();
var xml = serializer.serializeToString(document);

Parameters

Name

Required

Type

Default

Description

document

Yes

DOM document object.