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

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

Script Syntax

Copy Code
		
strValue = oXMLDOMProcessingInstruction.data;
objXMLDOMProcessingInstruction.data = 
strValue;

Remarks

Script Parameters

None.

Script Return Value

String. Returns the same value as the nodeValueproperty.

C/C++ Syntax

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

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