Sdílet prostřednictvím


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
<SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")> _
Public Property Anchor As Byte()
'Usage
Dim instance As SyncAnchor
Dim value As Byte()

value = instance.Anchor

instance.Anchor = value
[SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")] 
public byte[] Anchor { get; set; }
[SuppressMessageAttribute(L"Microsoft.Performance", L"CA1819:PropertiesShouldNotReturnArrays")] 
public:
property array<unsigned char>^ Anchor {
    array<unsigned char>^ get ();
    void set (array<unsigned char>^ value);
}
/** @property */
public byte[] get_Anchor ()

/** @property */
public void set_Anchor (byte[] value)
public function get Anchor () : byte[]

public function set Anchor (value : byte[])

Property Value

A byte array that contains the value of the anchor, such as a timestamp value.

See Also

Reference

SyncAnchor Class
SyncAnchor Members
Microsoft.Synchronization.Data Namespace