CombGuidGeneratorNewCombGuid Method |
Create a new CombGuid from a given Guid and timestamp.
Namespace:
MongoDB.Bson.Serialization.IdGenerators
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax public Guid NewCombGuid(
Guid guid,
DateTime timestamp
)
Public Function NewCombGuid (
guid As Guid,
timestamp As DateTime
) As Guid
member NewCombGuid :
guid : Guid *
timestamp : DateTime -> Guid
Parameters
- guid
- Type: SystemGuid
The base Guid. - timestamp
- Type: SystemDateTime
The timestamp.
Return Value
Type:
GuidA new CombGuid created by combining the base Guid with the timestamp.
See Also