createProcessingInstruction method
[This documentation is preliminary and is subject to change.]
Creates a processing instruction for an XML parser.
![]() ![]() |
Syntax
HRESULT retVal = object.createProcessingInstruction(bstrTarget, bstrData, );
Standards information
Parameters
bstrTarget [in]
Type: BSTRA BSTR value that contains the name of the processing instruction.
bstrData [in]
Type: BSTRA BSTR value that contains the data for the processing instruction.
newProcessingInstruction [out, retval]
Type: IDOMProcessingInstructionThe address of a pointer to an IDOMProcessingInstruction interface that receives a reference to the processing instruction.
Return value
Type: HRESULT
This method can return one of these values.
| Return code | Description |
|---|---|
| S_OK | The operation completed successfully. |
Remarks
The createProcessingInstruction method is supported only for XML documents.
Build date: 1/26/2012
.png)
.png)