IItemMetadata::TryGetFieldUInt16
Gets the value of a 16-bit unsigned integer field.
Custom fields must be defined by using a CUSTOM_FIELD_DEFINITION structure when the replica metadata is first initialized.
If IItemMetadata::SetFieldUInt16 was called to set the field value, but the change has not yet been saved by a call to IReplicaMetadata::SaveItemMetadata, TryGetFieldUInt16 returns the value that is contained in the IItemMetadata object and not the value that is stored in the metadata store.
Show: