Share via


SyncAnchor.Anchor Property

Gets or sets the anchor value in the form of a byte array.

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

Syntax

'Declaration
Public Property Anchor As Byte()
    Get
    Set
'Usage
Dim instance As SyncAnchor
Dim value As Byte()

value = instance.Anchor

instance.Anchor = value
public byte[] Anchor { get; set; }
public:
property array<unsigned char>^ Anchor {
    array<unsigned char>^ get ();
    void set (array<unsigned char>^ value);
}
member Anchor : byte[] with get, set
function get Anchor () : byte[]
function set Anchor (value : byte[])

Property Value

Type: System.Byte[]
A byte array that contains the value of the anchor, such as a timestamp value.

Exceptions

Exception Condition
ArgumentException

value is longer than 10e6 bytes.

See Also

Reference

SyncAnchor Class

Microsoft.Synchronization.Data Namespace