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
Public property Infinity Gets an infinite value for an ID.
Public property IsVariableLength Gets or sets a value that indicates whether the ID is variable length.
Public property Length Gets or sets the maximum length of a variable-length ID, or the actual length of a fixed-length ID.
Public property Zero Gets a 0 value for an ID.

Top

Methods

  Name Description
Public method Clone Clones the ID format and returns a new object that is in the same state as the current one.
Public method CompareTo Compares the current object with another SyncIdFormat object.
Public method Equals(Object) Determines whether the specified SyncIdFormat object is the same as the current object. (Overrides Object.Equals(Object).)
Public method Equals(SyncIdFormat) Determines whether the specified SyncIdFormat object is the same as the current object.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Computes a hash code that is suitable for use in hashing algorithms and data structures, such as a hash table. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether the two specified SyncIdFormat objects are the same.
Public operatorStatic member GreaterThan Determines whether format1 is greater than format2.
Public operatorStatic member Inequality Determines whether the two specified SyncIdFormat objects are not the same.
Public operatorStatic member LessThan Determines whether format1 is less than format2.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IXmlSerializable.GetSchema Returns a null reference (Nothing in Visual Basic).
Explicit interface implemetationPrivate method IXmlSerializable.ReadXml Reconstitutes the object from its XML representation.
Explicit interface implemetationPrivate method 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.

See Also

Reference

Microsoft.Synchronization Namespace