length Property (IXMLDOMCharacterData) (Compact 2013)

3/26/2014

Specifies the length, in characters, of the data.

Syntax

lValue = oXMLDOMCharacterData.length;
HRESULT get_length(  long* dataLength);

Parameters

Script

None.

C/C++

Return Value

Script

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

C/C++

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

Remarks

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

IXMLDOMCDATASection, IXMLDOMCharacterData, IXMLDOMComment, and IXMLDOMText

Requirements

Header

msxml2.h,
msxml2.idl

See Also

Reference

XML DOM Properties
data Property (IXMLDOMCharacterData)