SyncId.GetByteId Method
Gets a 1-byte sync ID.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Function GetByteId As Byte
'Usage
Dim instance As SyncId
Dim returnValue As Byte
returnValue = instance.GetByteId()
public byte GetByteId()
public:
unsigned char GetByteId()
member GetByteId : unit -> byte
public function GetByteId() : byte
Return Value
Type: System.Byte
The sync ID if it is a fixed-length ID of length 1; otherwise, throws InvalidOperationException.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This SyncId object is variable length or represents a multiple byte id. |