Compartir a través de


target Property

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Specifies the target for the processing instruction.

Script Syntax

            strValue = oXMLDOMProcessingInstruction.target;

Remarks

Script Parameters

None.

Script Return Value

String. Application to which this processing instruction is directed (the target).

C/C++ Syntax

HRESULT get_target(
  BSTR* name
);

Remarks

C/C++ Parameters

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

C/C++ Return Values

  • S_OK
    Value returned if successful.

Requirements

Header msxml2.h, msxml2.idl
Windows Embedded CE Windows CE .NET 4.0 and later

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

This property is read-only, and applies to the following interface:

IXMLDOMProcessingInstruction

See Also

Concepts

nodeName Property