Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Specifies the length, in characters, of the data.

Script Syntax

Copy Code
		
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

Copy Code
HRESULT get_length(
  long* 
dataLength
);

Remarks

C/C++ Parameters

dataLength

[out, retval] Length, in Unicode characters, of the string present in the data Property (IXMLDOMCharacterData).

C/C++ Return Values

S_OK

Value returned if successful.

E_INVALIDARG

Value returned if dataLengthis 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