System.Guid: Method Members

The methods of System.Guid are listed below. For a list of all members, see the Guid Members list.

See Also: Inherited members from System.ValueType

Public Methods

CompareTo(Guid) : int

Compares this instance to a specified Guid object and returns an indication of their relative values.

CompareTo(object) : int

Compares this instance to a specified object and returns an indication of their relative values.

Equals(Guid) : bool

Returns a value indicating whether this instance and a specified Guid object represent the same value.

override
Equals(object) : bool

Returns a value that indicates whether this instance is equal to a specified object.

override
GetHashCode() : int

Returns the hash code for this instance.

static
NewGuid() : Guid

Initializes a new instance of the Guid structure.

static
Parse(string) : Guid

Converts the string representation of a GUID to the equivalent Guid structure.

static
ParseExact(string, string) : Guid

Converts the string representation of a GUID to the equivalent Guid structure, provided that the string is in the specified format.

ToByteArray() : byte[]

Returns a 16-element byte array that contains the value of this instance.

override
ToString() : string

Returns a string representation of the value of this instance in registry format.

ToString(string) : string

Returns a string representation of the value of this Guid instance, according to the provided format specifier.

ToString(string, IFormatProvider) : string

Returns a string representation of the value of this instance of the Guid class, according to the provided format specifier and culture-specific format information.

static
TryParse(string, out Guid) : bool
Documentation for this section has not yet been entered.
static
TryParseExact(string, string, out Guid) : bool
Documentation for this section has not yet been entered.