MemberDefaultValueConvention Constructor |
Namespace:
MongoDB.Bson.Serialization.Conventions
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
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