| AggregateBucketAutoGranularity Structure | 
Namespace: MongoDB.Driver
 Syntax
SyntaxThe AggregateBucketAutoGranularity type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | AggregateBucketAutoGranularity | 
            Initializes a new instance of the AggregateBucketAutoGranularity struct.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|   | E12 | 
            Gets the E12 granularity.
             | 
|   | E192 | 
            Gets the E192 granularity.
             | 
|   | E24 | 
            Gets the E24 granularity.
             | 
|   | E48 | 
            Gets the E48 granularity.
             | 
|   | E6 | 
            Gets the E6 granularity.
             | 
|   | E96 | 
            Gets the E96 granularity.
             | 
|   | PowersOf2 | 
            Gets the POWERSOF2 granularity.
             | 
|   | R10 | 
            Gets the R10 granularity.
             | 
|   | R20 | 
            Gets the R20 granularity.
             | 
|   | R40 | 
            Gets the R40 granularity.
             | 
|   | R5 | 
            Gets the R5 granularity.
             | 
|   | R80 | 
            Gets the R80 granularity.
             | 
|   | S1_2_5 | 
            Gets the 1-2-5 granularity.
             | 
|  | Value | 
            Gets the value.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Equals | Indicates whether this instance and a specified object are equal.(Inherited from ValueType.) | 
|  | GetHashCode | Returns the hash code for this instance.(Inherited from ValueType.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | ToString | Returns the fully qualified type name of this instance.(Inherited from ValueType.) | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | ToBson | 
            Serializes an object to a BSON byte array.
            (Defined by BsonExtensionMethods.) | 
|  | ToBsonDocument | 
            Serializes an object to a BsonDocument.
            (Defined by BsonExtensionMethods.) | 
|  | ToJson | 
            Serializes an object to a JSON string.
            (Defined by BsonExtensionMethods.) | 
 See Also
See Also