RegisterAsMetadataTypeAttribute Class

Registers a class as a metadata body class for another class.

Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design
Assembly: Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll) Version: 6.0.0.0 (6.0.1304.0)

Syntax

public class RegisterAsMetadataTypeAttribute : Attribute
'Declaration
Public Class RegisterAsMetadataTypeAttribute
    Inherits Attribute
public ref class RegisterAsMetadataTypeAttribute : public Attribute

Remarks

When applying metadata attributes to classes, the target class might not always allow itself to be anotated.
This attribute can be used to nominate another class to contain the metadata attributes.
The metadata type should follow the same structure as the target type and its members cab be decorated with the metadata attributes.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design.RegisterAsMetadataTypeAttribute

See Also

RegisterAsMetadataTypeAttribute Members

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design Namespace