ItemMetadata::GetUInt64Field Method

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

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

public:
virtual Nullable<unsigned long long> GetUInt64Field(
	String^ fieldName
) abstract

Parameters

fieldName
Type: System::String
The name of the custom field.

Return Value

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

ExceptionCondition
ArgumentNullException

fieldName is a nullptr.

ArgumentException

fieldName is 0 length.

Custom fields must be defined in a FieldSchema object when the replica metadata is first initialized.

Show: