Redigera

Dela via


ContextConfiguration.MetadataProviderFactory Property

Definition

Gets or sets the metadata provider.

public:
 property Func<Type ^, System::ComponentModel::TypeDescriptionProvider ^> ^ MetadataProviderFactory { Func<Type ^, System::ComponentModel::TypeDescriptionProvider ^> ^ get(); void set(Func<Type ^, System::ComponentModel::TypeDescriptionProvider ^> ^ value); };
public Func<Type,System.ComponentModel.TypeDescriptionProvider> MetadataProviderFactory { get; set; }
member this.MetadataProviderFactory : Func<Type, System.ComponentModel.TypeDescriptionProvider> with get, set
Public Property MetadataProviderFactory As Func(Of Type, TypeDescriptionProvider)

Property Value

The type of the metadata provider.

Remarks

This method enables you to define a custom metadata provider for a given data context.

Applies to

See also