MemberDefaultValueConvention Constructor |
Namespace:
MongoDB.Bson.Serialization.Conventions
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax public MemberDefaultValueConvention(
Type type,
Object defaultValue
)
Public Sub New (
type As Type,
defaultValue As Object
)
new :
type : Type *
defaultValue : Object -> MemberDefaultValueConvention
Parameters
- type
- Type: SystemType
The type of the member. - defaultValue
- Type: SystemObject
The default value for members of this type.
See Also