Compartir a través de


BaseTypeAttribute Class

Indicates the base class or interface that must be assignable from the type specified in the property that this attribute decorates.

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple := False)> _
Public NotInheritable Class BaseTypeAttribute _
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = false)]
public sealed class BaseTypeAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property, AllowMultiple = false)]
public ref class BaseTypeAttribute sealed : public Attribute
public final class BaseTypeAttribute extends Attribute

Inheritance Hierarchy

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

See Also

BaseTypeAttribute Members

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