Share via


Guid Members

The following tables list the members exposed by the Guid type.

Public Constructors

Name Description
Public Method Guid Overloaded. Initializes a new instance of the Guid class.

Public Fields

Name Description
Public Field Static Empty A read-only instance of the Guid class whose value is guaranteed to be all zeroes.

Public Methods

Name Description
Public Method CompareTo Compares this instance to a specified object and returns an indication of their relative values.
Public Method Equals Overloaded. Returns a value indicating whether this instance and a specified Guid object represent the same value.
Public Method GetHashCode Returns the hash code for this instance.
Public Method GetType (Inherited from Object.)
Public Method Static NewGuid Initializes a new instance of the Guid class.
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToByteArray Returns a 16-element byte array that contains the value of this instance.

See Also

Reference

Guid Structure
System Namespace