Compartir a través de


NamePropertyAttribute Class

Attribute class that allows to specify a property that should be used as the Element View Model's name.

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

Syntax

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

Inheritance Hierarchy

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

See Also

NamePropertyAttribute Members

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