BsonClassMapSetIdMember Method |
Sets the Id member.
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax public void SetIdMember(
BsonMemberMap memberMap
)
Public Sub SetIdMember (
memberMap As BsonMemberMap
)
member SetIdMember :
memberMap : BsonMemberMap -> unit
Parameters
- memberMap
- Type: MongoDB.Bson.SerializationBsonMemberMap
The Id member (null if none).
See Also