Click or drag to resize
BsonMemberMap Methods

The BsonMemberMap type exposes the following members.

Methods
  NameDescription
Public methodApplyDefaultValue
Applies the default value to the member of an object.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFreeze
Freezes this instance.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetSerializer
Gets the serializer.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReset
Resets the member map back to its initial state.
Public methodSetDefaultValue(FuncObject)
Sets the default value creator.
Public methodSetDefaultValue(Object)
Sets the default value.
Public methodSetElementName
Sets the name of the element.
Public methodSetIdGenerator
Sets the Id generator.
Public methodSetIgnoreIfDefault
Sets whether default values should be ignored when serialized.
Public methodSetIgnoreIfNull
Sets whether null values should be ignored when serialized.
Public methodSetIsRequired
Sets whether an element is required for this member when deserialized
Public methodSetOrder
Sets the serialization order.
Public methodSetSerializer
Sets the serializer.
Public methodSetShouldSerializeMethod
Sets the method that will be called to determine whether the member should be serialized.
Public methodShouldSerialize
Determines whether a value should be serialized
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also