Microsoft XML SDK 2.6 - XML Reference

IXSLProcessingInstruction::data Method

IXMLDOMProcessingInstruction::get_data Method

Gets the content of the processing instruction, excluding the target.

Visual Basic Syntax

strValue = oXMLDOMProcessingInstruction.data

C/C++ Syntax

HRESULT get_data(
    BSTR *value);

Parameters

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


IXMLDOMProcessingInstruction::put_data Method

Sets the content of the processing instruction, excluding the target.

Visual Basic Syntax

objXMLDOMProcessingInstruction.data = strValue

C/C++ Syntax

HRESULT put_data(
    BSTR value);

Parameters

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

C/C++ Return Values

Returns S_OK if successful, or an error code otherwise.

See Also

IXMLDOMProcessingInstruction Interface