Click to return to the XML (Extensible Markup Language) home page    
IXMLDOMProcessingInstruct...     IXMLDOMProcessingInstruct...    
Web Workshop  |  XML (Extensible Markup Language)

IXMLDOMProcessingInstruction::get_data Method


Contains 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


Contains 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
[out] Content of the processing instruction for this target. The data has the same value as the nodeValue property.

C/C++ Return Value

Returns S_OK if successful, or an error code otherwise.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.