ObjectId Structure (original) (raw)

Represents an ObjectId (see also BsonObjectId).

Namespace: MongoDB.Bson
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

[SerializableAttribute] public struct ObjectId : IComparable, IEquatable, IConvertible

Public Structure ObjectId Implements IComparable(Of ObjectId), IEquatable(Of ObjectId), IConvertible

[] [] type ObjectId =
struct interface IComparable interface IEquatable interface IConvertible end

The ObjectId type exposes the following members.

Constructors

Properties

| | Name | Description | | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ------------------------------------------------------ | | Public property | CreationTime | Gets the creation time (derived from the timestamp). | | Public propertyStatic member | Empty | Gets an instance of ObjectId where the value is empty. | | Public property | Increment | Gets the increment. | | Public property | Machine | Gets the machine. | | Public property | Pid | Gets the PID. | | Public property | Timestamp | Gets the timestamp. |

Top

Methods

Operators

Extension Methods

See Also

Reference