Skip to main content

MetadataLocator.AddMetadata(Type) Method

Registers a metadata class.

Namespace: DevExpress.Mvvm.DataAnnotations

Assembly: DevExpress.Mvvm.v24.1.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation

Declaration

public MetadataLocator AddMetadata(
    Type metadataType
)

Parameters

Name Type Description
metadataType Type

The metadata class.

Returns

Type Description
MetadataLocator

The metadata locator instance.

See Also