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






In This Topic
    Limit Property (QidoEventArgs)
    In This Topic
    The maximum number of responses to send
    Syntax
    'Declaration
     
    
    Public Property Limit As System.Integer
    'Usage
     
    
    Dim instance As QidoEventArgs
    Dim value As System.Integer
     
    instance.Limit = value
     
    value = instance.Limit
    public System.int Limit {get; set;}
    public read-write property Limit: System.Integer; 
    public function get,set Limit : System.int
    public: __property System.int get_Limit();
    public: __property void set_Limit( 
       System.int value
    );
    public:
    property System.int Limit {
       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