Share via


data Property (IXMLDOMProcessingInstruction)

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Retrieves and sets the content of the processing instruction, excluding the target.

Script Syntax

            strValue = oXMLDOMProcessingInstruction.data;
objXMLDOMProcessingInstruction.data = strValue;

Remarks

Script Parameters

None.

Script Return Value

String. Returns the same value as the nodeValue property.

C/C++ Syntax

HRESULT get_data(
  BSTR* value
);
HRESULT put_data(
  BSTR value
);

Remarks

C/C++ Parameters

  • value
    [in] [out, retval] Content of the processing instruction for this target. The data has the same value as the nodeValue property.

C/C++ Return Values

  • S_OK
    Value returned if successful.

Requirements

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

General Remarks

This property is read/write, and applies to the following interface:

IXMLDOMProcessingInstruction

See Also

Concepts

nodeValue Property