SqlSyncFieldValue::GetByte Method

Gets the value of the custom field.

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

public:
virtual Nullable<unsigned char> GetByte() override

Return Value

Type: System::Nullable<Byte>
The value of the custom field. Returns a nullptr when the field value has not been set.

ExceptionCondition
MetadataStoreInvalidOperationException

The field in this SqlSyncFieldValue object is not a Byte.

Show: