Share via


SyncFieldValue.GetUInt16 Method

When overridden in a derived class, gets the value of the custom field.

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

Syntax

'Declaration
Public MustOverride Function GetUInt16 As Nullable(Of UShort)
'Usage
Dim instance As SyncFieldValue
Dim returnValue As Nullable(Of UShort)

returnValue = instance.GetUInt16()
public abstract Nullable<ushort> GetUInt16()
public:
virtual Nullable<unsigned short> GetUInt16() abstract
abstract GetUInt16 : unit -> Nullable<uint16> 
public abstract function GetUInt16() : Nullable<ushort>

Return Value

Type: System.Nullable<UInt16>
The value of the custom field. Returns a null reference (Nothing in Visual Basic) when the field value has not been set.

See Also

Reference

SyncFieldValue Class

Microsoft.Synchronization.MetadataStorage Namespace