Click or drag to resize

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.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax
public Guid NewCombGuid(
	Guid guid,
	DateTime timestamp
)

Parameters

guid
Type: SystemGuid
The base Guid.
timestamp
Type: SystemDateTime
The timestamp.

Return Value

Type: Guid
A new CombGuid created by combining the base Guid with the timestamp.
See Also