Microsoft XML 2.5 SDK


 

IXMLDOMProcessingInstruction::get_target Method

[This is preliminary documentation and subject to change.]

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).

C/C++ Return Value

Returns S_OK if successful, or an error code otherwise.

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.