Partager via


ReferenceAttribute Class

Attribute class used to indicate that the property is a reference to provider.
Reference properties will show an editable dropdown that allows the referred element to be selected.

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 ReferenceAttribute _
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = false)]
public sealed class ReferenceAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property, AllowMultiple = false)]
public ref class ReferenceAttribute sealed : public Attribute
public final class ReferenceAttribute extends Attribute

Inheritance Hierarchy

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

See Also

ReferenceAttribute Members

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