XdmType.ProcessingInstruction Method (string)XdmType.ProcessingInstruction Method (String)XdmType::ProcessingInstruction Method (String^)
Returns an XdmTypeXdmTypeXdmType instance corresponding to the processing instruction type with the specified target.
Parameters
- target
Type: System.StringSystem.StringSystem::String^
The target of processing instructions matching this type, or
null
a null reference (Nothing
in Visual Basic)nullptr
for a type matching all processing instructions.
Return Value
Type: XmlPrime.XdmTypeXmlPrime.XdmTypeXmlPrime::XdmType^
An XdmTypeXdmTypeXdmType instance representing the processing instruction type with the specified target.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | target is null
a null reference (Nothing in Visual Basic)
nullptr . |
ArgumentExceptionArgumentExceptionArgumentException | target is not a valid xs:NCName value. |
Remarks
This corresponds to the XPath 2.0 typeprocessing-instruction( )
,
or processing-instruction()
if target is null
a null reference (Nothing
in Visual Basic)
nullptr
.