Guid
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 |
---|---|
int CompareTo(const Guid&) const | Performs arithmetic comparison of the GUIDs represented by the current and specified objects. |
bool Equals(const Guid&) const | Determines if the GUIDs represented by the current and specified objects are equal. |
int 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 Guid NewGuid() | Generates a new GUID and returns a Guid object that represents it. |
bool operator!=(const Guid&) const | Determines if the GUIDs represented by the current and specified objects are not equal. |
Guid& operator=(const Guid&) | Assigns to the current object the GUID value represented by the specified Guid object. |
bool operator==(const Guid&) const | Determines if the GUIDs represented by the current and specified objects are equal. |
static Guid Parse(const String&) | Converts the specified string representation of a GUID into equivalent Guid object. |
ArrayPtr<uint8_t> ToByteArray() const | Converts the GUID represented by the current object into array of bytes. |
String ToString() const | Converts the GUID represented by the current object to its string representation. |
String ToString(const String&) const | Converts the GUID represented by the current object to its string representation using the specified string format. |
String 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 bool 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.Slides