System::Guid class
Contents
[
Hide
]Guid class
Represents a Globally Unique IDentifier This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type.
class Guid
Methods
Method | Description |
---|---|
CompareTo(const Guid&) const | Performs arithmetic comparison of the GUIDs represented by the current and specified objects. |
Equals(const Guid&) const | Determines if the GUIDs represented by the current and specified objects are equal. |
GetHashCode() const | Returns a hash code for the current object. |
Guid() | Constructs an object that represents a GUID consisting of all zeroes. |
Guid(const ArrayPtr<uint8_t>&) | Constructs an object that represents a GUID specified as an array of unsigned 8-bit integer values. |
Guid(const System::Details::ArrayView<uint8_t>&) | Constructs an object that represents a GUID specified as an array view of unsigned 8-bit integer values. |
Guid(const String&) | Constructs an object that represents a GUID specified as a string. |
Guid(int32_t, int16_t, int16_t, const ArrayPtr<uint8_t>&) | Constructs an instance of Guid class from the specified GUID components. |
Guid(int32_t, int16_t, int16_t, const System::Details::ArrayView<uint8_t>&) | Constructs an instance of Guid class from the specified GUID components. |
Guid(int32_t, int16_t, int16_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t) | Constructs an instance of Guid class from the specified unsigned integers and bytes. |
Guid(uint32_t, uint16_t, uint16_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t) | Constructs an instance of Guid class from the specified unsigned integers and bytes. |
Guid(const Guid&) | Constructs an object that represents the same GUID as the specified object. |
static NewGuid() | Generates a new GUID and returns a Guid object that represents it. |
operator!=(const Guid&) const | Determines if the GUIDs represented by the current and specified objects are not equal. |
operator=(const Guid&) | Assigns to the current object the GUID value represented by the specified Guid object. |
operator==(const Guid&) const | Determines if the GUIDs represented by the current and specified objects are equal. |
static Parse(const String&) | Converts the specified string representation of a GUID into equivalent Guid object. |
ToByteArray() const | Converts the GUID represented by the current object into array of bytes. |
ToString() const | Converts the GUID represented by the current object to its string representation. |
ToString(const String&) const | Converts the GUID represented by the current object to its string representation using the specified string format. |
ToString(const String&, const SharedPtr<Globalization::CultureInfo>&) const | Converts the GUID represented by the current object to its string representation using the specified string format and Culture. |
static TryParse(const String&, Guid&) | Tries to convert the specified string into Guid object. |
~Guid() | Destructor. |
Fields
Field | Description |
---|---|
static Empty | Represents a GUID that has a value of 0. |
See Also
- Namespace System
- Library Aspose.PDF for C++