SyncIdFormat Class
Represents the format of a synchronization entity ID. This class cannot be inherited.
Inheritance Hierarchy
System.Object
Microsoft.Synchronization.SyncIdFormat
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class SyncIdFormat _
Implements IComparable, IEquatable(Of SyncIdFormat), _
IXmlSerializable, ICloneable
'Usage
Dim instance As SyncIdFormat
[SerializableAttribute]
public sealed class SyncIdFormat : IComparable,
IEquatable<SyncIdFormat>, IXmlSerializable, ICloneable
[SerializableAttribute]
public ref class SyncIdFormat sealed : IComparable,
IEquatable<SyncIdFormat^>, IXmlSerializable, ICloneable
[<SealedAttribute>]
[<SerializableAttribute>]
type SyncIdFormat =
class
interface IComparable
interface IEquatable<SyncIdFormat>
interface IXmlSerializable
interface ICloneable
end
public final class SyncIdFormat implements IComparable, IEquatable<SyncIdFormat>, IXmlSerializable, ICloneable
The SyncIdFormat type exposes the following members.
Properties
Name | Description | |
---|---|---|
Infinity | Gets an infinite value for an ID. | |
IsVariableLength | Gets or sets a value that indicates whether the ID is variable length. | |
Length | Gets or sets the maximum length of a variable-length ID, or the actual length of a fixed-length ID. | |
Zero | Gets a 0 value for an ID. |
Top
Methods
Name | Description | |
---|---|---|
Clone | Clones the ID format and returns a new object that is in the same state as the current one. | |
CompareTo | Compares the current object with another SyncIdFormat object. | |
Equals(Object) | Determines whether the specified SyncIdFormat object is the same as the current object. (Overrides Object.Equals(Object).) | |
Equals(SyncIdFormat) | Determines whether the specified SyncIdFormat object is the same as the current object. | |
Finalize | (Inherited from Object.) | |
GetHashCode | Computes a hash code that is suitable for use in hashing algorithms and data structures, such as a hash table. (Overrides Object.GetHashCode().) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether the two specified SyncIdFormat objects are the same. | |
GreaterThan | Determines whether format1 is greater than format2. | |
Inequality | Determines whether the two specified SyncIdFormat objects are not the same. | |
LessThan | Determines whether format1 is less than format2. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IXmlSerializable.GetSchema | Returns a null reference (Nothing in Visual Basic). | |
IXmlSerializable.ReadXml | Reconstitutes the object from its XML representation. | |
IXmlSerializable.WriteXml | Converts this object into its XML representation. |
Top
Remarks
The members of IXmlSerializable are implemented explicitly. Code that accesses them must first cast the SyncIdFormat object to the IXmlSerializable interface by using the casting operator or the as keyword.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.