Share via


target Property (Windows Embedded CE 6.0)

1/6/2010

Specifies the target for the processing instruction.

Script Syntax

            strValue = oXMLDOMProcessingInstruction.target;

Remarks

Ee502353.collapse(en-US,WinEmbedded.60).gifScript Parameters

None.

Ee502353.collapse(en-US,WinEmbedded.60).gifScript Return Value

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

Ee502353.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

HRESULT get_target(
  BSTR* name
);

Remarks

Ee502353.collapse(en-US,WinEmbedded.60).gifC/C++ Parameters

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

Ee502353.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

  • S_OK
    Value returned if successful.

Ee502353.collapse(en-US,WinEmbedded.60).gifRequirements

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

Reference

XML DOM Properties

Concepts

nodeName Property