DicomObjects.NET.8.48 Documentation
DicomObjects.EventArguments Namespace / ReceivingPixelDataArgs Class / ReceiveToStream Method
User-provided Stream object






In This Topic
    ReceiveToStream Method
    In This Topic
    Write the data received so far to a user-provided stream, and then pass received pixel data direct to that stream, without holding it all in memory
    Syntax
    'Declaration
     
    
    Public Sub ReceiveToStream( _
       ByVal stream As System.IO.Stream _
    ) 
    'Usage
     
    
    Dim instance As ReceivingPixelDataArgs
    Dim stream As System.IO.Stream
     
    instance.ReceiveToStream(stream)
    public void ReceiveToStream( 
       System.IO.Stream stream
    )
    public procedure ReceiveToStream( 
        stream: System.IO.Stream
    ); 
    public function ReceiveToStream( 
       stream : System.IO.Stream
    );
    public: void ReceiveToStream( 
       System.IO.Stream* stream
    ) 
    public:
    void ReceiveToStream( 
       System.IO.Stream^ stream
    ) 

    Parameters

    stream
    User-provided Stream object
    Remarks

    The transfer syntax used for the stream is always the same as that received over the network

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also