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

IXMLDOMProcessingInstruction::get_target Method


Specifies the target, the application to which this processing instruction is directed.

Visual Basic Syntax

strValue = oXMLDOMProcessingInstruction.target

C/C++ Syntax

HRESULT get_target(
    BSTR *name);

Parameters

name
[out] Application to which this processing instruction is directed (the target).

Remarks

XML defines the target as the first token following the markup that begins the processing instruction. For example, the target has the value xml in the processing instruction <?xml version="1.0">.

The target property has the same value as the nodeName 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.