Property MaxSize NamespaceMongoDB.Driver AssemblyMongoDB.Driver.dll MaxSize Gets or sets the maximum size of the collection (used with capped collections). public long? MaxSize { get; set; } Property Value long?