DicomObjects.NET Core 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 Integer
    'Usage
     
    
    Dim instance As QidoEventArgs
    Dim value As Integer
     
    instance.Limit = value
     
    value = instance.Limit
    public int Limit {get; set;}
    public:
    property int Limit {
       int get();
       void set (    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 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: 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