UniqueId Class
A unique identifier optimized for Guids.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
| Name | Description | |
|---|---|---|
![]() | UniqueId() | Creates a new instance of this class with a new, unique Guid. |
![]() | UniqueId(array<Byte>^) | Creates a new instance of this class using a byte array that represents a Guid. |
![]() | UniqueId(array<Byte>^, Int32) | Creates a new instance of this class starting from an offset within a byte array that represents a Guid. |
![]() | UniqueId(array<Char>^, Int32, Int32) | Creates a new instance of this class starting from an offset within a char using a specified number of entries. |
![]() | UniqueId(Guid) | Creates a new instance of this class using a Guid. |
![]() | UniqueId(String^) | Creates a new instance of this class using a string. |
| Name | Description | |
|---|---|---|
![]() | CharArrayLength | Gets the length of the string representation of the UniqueId. |
![]() | IsGuid | Indicates whether the UniqueId is a Guid. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Tests whether an object equals this UniqueId.(Overrides Object::Equals(Object^).) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Creates a hash-code representation of this UniqueId.(Overrides Object::GetHashCode().) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToCharArray(array<Char>^, Int32) | Puts the UniqueId value into a char array. |
![]() | ToString() | Displays the UniqueId value in string format.(Overrides Object::ToString().) |
![]() | TryGetGuid(array<Byte>^, Int32) | Tries to get the value of the UniqueId as a Guid and store it in the given byte array at the specified offest. |
![]() | TryGetGuid(Guid%) | Tries to get the value of the UniqueId as a Guid. |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality(UniqueId^, UniqueId^) | Overrides the equality operator to test for equality of two UniqueIds. |
![]() ![]() | Inequality(UniqueId^, UniqueId^) | Overrides the equality operator to test for inequality of two UniqueIds. |
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




