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