DicomObjects.NET.V8
DicomObjects Namespace / DicomDataSet Class / ReadXml Method
The Stream to read from
The transfer syntax to assign to the resulting instances - see remarks



In This Topic
    ReadXml Method
    In This Topic
    Read DICOM data from an XML Stream
    Syntax
    'Declaration
     
    Public Sub ReadXml( _
       ByVal Stream As Stream, _
       Optional ByVal TransferSyntax As String _
    ) 
    'Usage
     
    Dim instance As DicomDataSet
    Dim Stream As Stream
    Dim TransferSyntax As String
     
    instance.ReadXml(Stream, TransferSyntax)
    public void ReadXml( 
       Stream Stream,
       string TransferSyntax
    )
    public:
    void ReadXml( 
       Stream^ Stream,
       String^ TransferSyntax
    ) 

    Parameters

    Stream
    The Stream to read from
    TransferSyntax
    The transfer syntax to assign to the resulting instances - see remarks
    Remarks

    The XML data must be compliant with the Native DICOM Model outlined in the DICOM Part 19 (Application Hosting), with modifications as defined in supplement 163 to allow bulk data

    The TransferSyntaxvalue does not directly affect the data itself, which is independent of transfer syntax, but the assigned value may be used internally to control the form in which are missing bulk data (e.g. pixel data) is requested fromn an origin server if replaced by a BulkDataUri property.

    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also