Udostępnij za pośrednictwem


SyncId Constructor (Byte , Boolean)

Initializes a new instance of the SyncId class that contains the specified raw ID and a value that indicates whether the ID is fixed length or variable length.

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

Syntax

'Declaration
Public Sub New ( _
    rawId As Byte(), _
    isVariableLength As Boolean _
)
'Usage
Dim rawId As Byte()
Dim isVariableLength As Boolean

Dim instance As New SyncId(rawId, isVariableLength)
public SyncId (
    byte[] rawId,
    bool isVariableLength
)
public:
SyncId (
    array<unsigned char>^ rawId, 
    bool isVariableLength
)
public SyncId (
    byte[] rawId, 
    boolean isVariableLength
)
public function SyncId (
    rawId : byte[], 
    isVariableLength : boolean
)

Parameters

  • rawId
    The raw ID data.
  • isVariableLength
    true if this is a variable length ID; otherwise, false.

Remarks

This form of the constructor stores the ID data exactly as specified.

See Also

Reference

SyncId Class
SyncId Members
Microsoft.Synchronization Namespace