Share via


ItemMetadataSchema.CustomFields Property

Gets a collection of CustomFieldDefinition objects that each represent a custom field. Fields can be used to identify an item in the metadata or store version information about an item.

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

Syntax

'Declaration
Public ReadOnly Property CustomFields As IEnumerable(Of CustomFieldDefinition)
    Get
'Usage
Dim instance As ItemMetadataSchema
Dim value As IEnumerable(Of CustomFieldDefinition)

value = instance.CustomFields
public IEnumerable<CustomFieldDefinition> CustomFields { get; }
public:
property IEnumerable<CustomFieldDefinition^>^ CustomFields {
    IEnumerable<CustomFieldDefinition^>^ get ();
}
member CustomFields : IEnumerable<CustomFieldDefinition>
function get CustomFields () : IEnumerable<CustomFieldDefinition>

Property Value

Type: System.Collections.Generic.IEnumerable<CustomFieldDefinition>
A collection of CustomFieldDefinition objects that each represent a custom field in the metadata store.

Remarks

Custom fields are fields in the metadata store that are identified by integers. If an application requires a friendly name for one or more fields, it should map the integer to a name. Custom fields are defined for two reasons: to identify items, and to provide version information about those items. Version fields enable Sync Framework to determine if an item or change unit has changed. For more information about simple provider metadata, see Managing Metadata for Simple Providers.

See Also

Reference

ItemMetadataSchema Class

Microsoft.Synchronization.SimpleProviders Namespace