MongoDB.Bson.Serialization.BsonMemberMap.SetRepresentation C# (CSharp) Метод

SetRepresentation() публичный Метод

Sets the external representation.
public SetRepresentation ( BsonType representation ) : BsonMemberMap
representation BsonType The external representation.
Результат BsonMemberMap
        public BsonMemberMap SetRepresentation(BsonType representation)
        {
            if (_frozen) { ThrowFrozenException(); }
            _serializationOptions = new RepresentationSerializationOptions(representation);
            return this;
        }