Share via


SqlSyncFieldValue.GetUInt32 Method

Gets the value of the custom field.

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

Syntax

'Declaration
Public Overrides Function GetUInt32 As Nullable(Of UInteger)
'Usage
Dim instance As SqlSyncFieldValue
Dim returnValue As Nullable(Of UInteger)

returnValue = instance.GetUInt32()
public override Nullable<uint> GetUInt32()
public:
virtual Nullable<unsigned int> GetUInt32() override
abstract GetUInt32 : unit -> Nullable<uint32> 
override GetUInt32 : unit -> Nullable<uint32> 
public override function GetUInt32() : Nullable<uint>

Return Value

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

Exceptions

Exception Condition
MetadataStoreInvalidOperationException

The field in this SqlSyncFieldValue object is not a UInt32.

See Also

Reference

SqlSyncFieldValue Class

Microsoft.Synchronization.MetadataStorage Namespace