XdmReader.Create Method (Stream, XdmReaderSettings, XmlParserContext)XdmReader.Create Method (Stream, XdmReaderSettings, XmlParserContext)XdmReader::Create Method (Stream^, XdmReaderSettings^, XmlParserContext^)
- XmlPrime 2.9
- Other Versions ▼
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
Syntax
Public Shared Function Create( _ input As System.IO.Stream, _ settings As XdmReaderSettings, _ inputContext As System.Xml.XmlParserContext _ ) As XdmReader
public static XdmReader Create( System.IO.Stream input, XdmReaderSettings settings, System.Xml.XmlParserContext inputContext )
public: static XdmReader^ Create( System.IO::Stream^ input, XdmReaderSettings^ settings, System.Xml::XmlParserContext^ inputContext )
Parameters
- input
Type: System.IO.StreamSystem.IO.StreamSystem.IO::Stream^
The stream containing the XML data.
- settings
Type: XmlPrime.Serialization.XdmReaderSettingsXmlPrime.Serialization.XdmReaderSettingsXmlPrime.Serialization::XdmReaderSettings^
The XdmReaderSettingsXdmReaderSettingsXdmReaderSettings object used to configure the new XmlReaderXmlReaderXmlReader instance. This value can be
null
a null reference (Nothing
in Visual Basic)nullptr
.- inputContext
Type: System.Xml.XmlParserContextSystem.Xml.XmlParserContextSystem.Xml::XmlParserContext^
The XmlParserContextXmlParserContextXmlParserContext object that provides the context information required to parse the XML fragment. The context information can include the XmlNameTableXmlNameTableXmlNameTable to use, encoding, namespace scope, the current xml:lang and xml:space scope, base URI, and document type definition. This value can be
null
a null reference (Nothing
in Visual Basic)nullptr
.
Return Value
Type: XmlPrime.Serialization.XdmReaderXmlPrime.Serialization.XdmReaderXmlPrime.Serialization::XdmReader^
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | input is null
a null reference (Nothing in Visual Basic)
nullptr . |