Skip to main content

MetadataLocator.AddMetadata(Type, 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 type,
    Type metadataType
)

Parameters

Name Type Description
type Type

The data class.

metadataType Type

The metadata class.

Returns

Type Description
MetadataLocator

The metadata locator instance.

See Also