Method SetIsRequired
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
SetIsRequired(bool)
Sets whether an element is required for this member when deserialized
public BsonMemberMap SetIsRequired(bool isRequired)
Parameters
isRequired
boolWhether an element is required for this member when deserialized
Returns
- BsonMemberMap
The member map.