SyncGlobalId Class

Represents an identifier for an item that is unique throughout the synchronization community.

System.Object
  Microsoft.Synchronization.SyncGlobalId

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

'Declaration
<SerializableAttribute> _
Public Class SyncGlobalId _
	Implements IComparable, IEquatable(Of SyncGlobalId)
'Usage
Dim instance As SyncGlobalId

The SyncGlobalId type exposes the following members.

  NameDescription
Public methodSyncGlobalId(Byte())Initializes a new instance of the SyncGlobalId class by using serialized data.
Public methodSyncGlobalId(UInt64, Guid)Initializes a new instance of the SyncGlobalId class that contains the specified prefix and GUID.
Top

  NameDescription
Public propertyPrefixGets the prefix component of the global ID.
Public propertyUniqueIdGets the GUID component of the global ID.
Top

  NameDescription
Public methodCompareToCompares this object with another SyncGlobalId object.
Public methodEquals(Object)Determines whether the specified SyncGlobalId object is equal to this object. (Overrides Object.Equals(Object).)
Public methodEquals(SyncGlobalId)Determines whether the specified SyncGlobalId object is equal to this object.
Protected methodFinalize (Inherited from Object.)
Public methodGetBytesSerializes the global ID value to an array of bytes.
Public methodGetHashCodeComputes a hash code that is suitable for use in hashing algorithms and data structures, such as a hash table. (Overrides Object.GetHashCode.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a string that represents the global ID. (Overrides Object.ToString.)
Top

  NameDescription
Public operatorStatic memberEqualityDetermines whether the two specified SyncGlobalId objects are equal.
Public operatorStatic memberGreaterThanDetermines whether idX is greater than idY.
Public operatorStatic memberInequalityDetermines whether the two specified SyncGlobalId objects are not equal.
Public operatorStatic memberLessThanDetermines whether idX is less than idY.
Top

Item IDs are not required to be in this format. However, for systems that do not have an intrinsic unique ID for items, we recommend that you use this format.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: