BsonClassMapSetIdMember Method |
Sets the Id member.
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
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