length Property (IXMLDOMCharacterData)

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Specifies the length, in characters, of the data.

Script Syntax

            lValue = oXMLDOMCharacterData.length;

Remarks

Script Parameters

None.

Script Return Value

Long integer. Length, in Unicode characters, of the string present in the data Property (IXMLDOMCharacterData).

C/C++ Syntax

HRESULT get_length(
  long* dataLength
);

Remarks

C/C++ Parameters

C/C++ Return Values

  • S_OK
    Value returned if successful.
  • E_INVALIDARG
    Value returned if dataLength is Null.

Requirements

Header msxml2.h, msxml2.idl
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

This property is read-only, and applies to the following objects and interfaces:

IXMLDOMCDATASection, IXMLDOMCharacterData, IXMLDOMComment, and IXMLDOMText

See Also

Concepts

data Property (IXMLDOMCharacterData)