BsonClassMap.SetCreator Method (original) (raw)
BsonClassMapSetCreator Method
Sets the creator for the object.
Namespace: MongoDB.Bson.Serialization
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public BsonClassMap SetCreator( Func creator )
Public Function SetCreator ( creator As Func(Of Object) ) As BsonClassMap
member SetCreator : creator : Func -> BsonClassMap
Parameters
creator
Type: SystemFuncObject
The creator.
Return Value
Type: BsonClassMap
The class map (so method calls can be chained).
See Also