DicomObjects.NET8 Documentation
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also