SyncId::GetByteId Method

Gets a 1-byte sync ID.

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

public:
unsigned char GetByteId()

Return Value

Type: System::Byte
The sync ID if it is a fixed-length ID of length 1; otherwise, throws InvalidOperationException.

ExceptionCondition
InvalidOperationException

This SyncId object is variable length or represents a multiple byte id.

Show: