MetadataTypeAttribute.MetadataClassType Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the metadata class that is associated with a data-model partial class.

Namespace:   System.ComponentModel.DataAnnotations
Assembly:  System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)

public Type MetadataClassType { get; }

Property Value

Type: System.Type

The type value that represents the metadata class.

.NET Framework
Available since 3.5
Return to top