XdmReader.Create Method (string)XdmReader.Create Method (String)XdmReader::Create Method (String^)

Creates an XdmReaderXdmReaderXdmReader instance using the specified URI.

Syntax

Public Shared Function Create( _
    inputUri As String _
) As XdmReader
public static XdmReader Create(
    string inputUri
)
public:
static XdmReader^ Create(
    String^ inputUri
)
 

Parameters

inputUri

Type: System.StringSystem.StringSystem::String^

The URI for the file containing the XML data. The XmlUrlResolverXmlUrlResolverXmlUrlResolver class is used to convert the path to a canonical data representation.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullException The inputUri value is null a null reference (Nothing in Visual Basic) nullptr.
FileNotFoundExceptionFileNotFoundExceptionFileNotFoundException The file specified by the URI cannot be found..
UriFormatExceptionUriFormatExceptionUriFormatExceptionThe URI format is not correct.