MaxItemsReturned property

int? get MaxItemsReturned
The maximum number of items the search operation should return.

Implementation

int? get MaxItemsReturned => this._maxItemsReturned;
set MaxItemsReturned (int? value)

Implementation

set MaxItemsReturned(int? value) {
  if (value != null) {
    if (value <= 0) {
      throw new ArgumentException("Strings.ValueMustBeGreaterThanZero");
    }
  }

  this._maxItemsReturned = value;
}