XDTOSerializer.CanReadXML

Syntax:

CanReadXML(<XMLReader>)

Parameters:

<XMLReader> (required)

Type: DOMNodeReader, FastInfosetReader, XMLReader.
Object used to read XML data.

Returned value:

Type: Boolean.
True - 1C:Enterprise type exists; False - otherwise.

Description:

Checks whether a value can be read from the XMLReader object.
This method obtains XML data type from the XMLReader object similarly to the GetXMLType method, and then it attempts to define whether there is a corresponding 1C:Enterprise type similarly to the FromXMLType method.

Availability:

Thin client, server, thick client, external connection, Mobile application (client), Mobile application (server).

Note:

Method does not read. It defines possibility to read the specified type in the current position of object being read.

    

1C:Enterprise Developer's Community