DicomObjects.NET.8.48 Documentation
DicomObjects.DicomWeb Namespace / QidoEventArgs Class / Offset Property






In This Topic
    Offset Property (QidoEventArgs)
    In This Topic
    The number of initial responses to discard
    Syntax
    'Declaration
     
    
    Public Property Offset As System.Integer
    'Usage
     
    
    Dim instance As QidoEventArgs
    Dim value As System.Integer
     
    instance.Offset = value
     
    value = instance.Offset
    public System.int Offset {get; set;}
    public read-write property Offset: System.Integer; 
    public function get,set Offset : System.int
    public: __property System.int get_Offset();
    public: __property void set_Offset( 
       System.int value
    );
    public:
    property System.int Offset {
       System.int get();
       void set (    System.int value);
    }
    Remarks

    Limiting may be performed either by user code or by DicomObjects. Offset and Limit will be set automatically to the values received in the request (or to 0 and System.Int32.MaxValue respectively if absent). Once the DicomWebServer.QidoReceived event returns, the first Offset values in Results are discarded, and the next Limit values will be returned to the client. Therefore either of the following will work:

    1: The user code ignores these values completely, simply returning all values available, and leaving DicomObjects to do the limiting

    2: The user code uses these values to do its own selection, and then sets Offset to 0 and Limit to a large value to disable further filtering by DicomObjects

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also