MongoDB.Bson.Serialization.Attributes.BsonTimeSpanOptionsAttribute.BsonTimeSpanOptionsAttribute C# (CSharp) Méthode

BsonTimeSpanOptionsAttribute() public méthode

Initializes a new instance of the BsonTimeSpanOptionsAttribute class.
public BsonTimeSpanOptionsAttribute ( BsonType representation ) : System
representation BsonType The external representation.
Résultat System
        public BsonTimeSpanOptionsAttribute(BsonType representation)
        {
            _representation = representation;
        }

Same methods

BsonTimeSpanOptionsAttribute::BsonTimeSpanOptionsAttribute ( BsonType representation, TimeSpanUnits units ) : System
BsonTimeSpanOptionsAttribute