A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mongodb.github.io/mongo-csharp-driver/3.4.0/api/MongoDB.Bson/MongoDB.Bson.ObjectId.html below:

Struct ObjectId
Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Represents an ObjectId (see also BsonObjectId).

public struct ObjectId : IComparable<ObjectId>, IEquatable<ObjectId>, IConvertible
Implements
Inherited Members
Extension Methods
Constructors
ObjectId(byte[])

Initializes a new instance of the ObjectId class.

ObjectId(string)

Initializes a new instance of the ObjectId class.

Properties
CreationTime

Gets the creation time (derived from the timestamp).

Empty

Gets an instance of ObjectId where the value is empty.

Timestamp

Gets the timestamp.

Methods
CompareTo(ObjectId)

Compares this ObjectId to another ObjectId.

Equals(ObjectId)

Compares this ObjectId to another ObjectId.

Equals(object)

Compares this ObjectId to another object.

GenerateNewId()

Generates a new ObjectId with a unique value.

GenerateNewId(DateTime)

Generates a new ObjectId with a unique value (with the timestamp component based on a given DateTime).

GenerateNewId(int)

Generates a new ObjectId with a unique value (with the given timestamp).

GetHashCode()

Gets the hash code.

Parse(string)

Parses a string and creates a new ObjectId.

ToByteArray()

Converts the ObjectId to a byte array.

ToByteArray(byte[], int)

Converts the ObjectId to a byte array.

ToString()

Returns a string representation of the value.

TryParse(string, out ObjectId)

Tries to parse a string and create a new ObjectId.

Operators
operator ==(ObjectId, ObjectId)

Compares two ObjectIds.

operator >(ObjectId, ObjectId)

Compares two ObjectIds.

operator >=(ObjectId, ObjectId)

Compares two ObjectIds.

operator !=(ObjectId, ObjectId)

Compares two ObjectIds.

operator <(ObjectId, ObjectId)

Compares two ObjectIds.

operator <=(ObjectId, ObjectId)

Compares two ObjectIds.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4