Compartilhar via


data Property (IXMLDOMProcessingInstruction) (Compact 2013)

3/26/2014

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

Syntax

strValue = oXMLDOMProcessingInstruction.data;
objXMLDOMProcessingInstruction.data = strValue;
HRESULT get_data(
  BSTR* value
);
HRESULT put_data(
  BSTR value
);

Parameters

Script

None.

C/C++

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

Return Value

Script

String. Returns the same value as the nodeValue property.

C/C++

  • S_OK
    Value returned if successful.

Remarks

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

IXMLDOMProcessingInstruction

Requirements

Header

msxml2.h,
msxml2.idl

See Also

Reference

XML DOM Properties
nodeValue Property