MongoDB.Driver.Builders.QueryConditionList.Size C# (CSharp) Method

Size() public method

Adds a $size test to the query.
public Size ( int size ) : QueryConditionList
size int The size of the array.
return QueryConditionList
        public QueryConditionList Size(
            int size
        ) {
            conditions.Add("$size", size);
            return this;
        }