Share via


SyncFieldValue.GetByte 方法

在派生类中重写时,获取自定义字段的值。

命名空间: Microsoft.Synchronization.MetadataStorage
程序集: Microsoft.Synchronization.MetadataStorage(在 microsoft.synchronization.metadatastorage.dll 中)

语法

声明
Public MustOverride Function GetByte As Nullable(Of Byte)
用法
Dim instance As SyncFieldValue
Dim returnValue As Nullable(Of Byte)

returnValue = instance.GetByte
public abstract Nullable<byte> GetByte ()
public:
virtual Nullable<unsigned char> GetByte () abstract
public abstract Nullable<byte> GetByte ()
public abstract function GetByte () : Nullable<byte>

返回值

自定义字段的值。如果尚未设置该字段值,则返回 null 引用(在 Visual Basic 中为 Nothing)。

请参阅

参考

SyncFieldValue 类
SyncFieldValue 成员
Microsoft.Synchronization.MetadataStorage 命名空间