SqlSyncFieldValue::GetString Method

Gets the value of the custom field.

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

public:
virtual String^ GetString() override

Return Value

Type: System::String
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 cannot be represented as a String.

Show: