MemberDefaultValueConvention Constructor |
Namespace: MongoDB.Bson.Serialization.ConventionsAssembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.1.0
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