DisplayPropertyAttribute-Konstruktor (String)

Initialisiert eine neue Instanz der DisplayPropertyAttribute-Klasse mit dem angegebenen Eigenschaftennamen.

Namespace:  Microsoft.Windows.Design
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Sub New ( _
    displayPropertyName As String _
)
public DisplayPropertyAttribute(
    string displayPropertyName
)
public:
DisplayPropertyAttribute(
    String^ displayPropertyName
)
new : 
        displayPropertyName:string -> DisplayPropertyAttribute
public function DisplayPropertyAttribute(
    displayPropertyName : String
)

Parameter

  • displayPropertyName
    Typ: System.String
    Der Name der Eigenschaft, die in einem Designer für die Anzeige verwendet werden soll.

.NET Framework-Sicherheit

Siehe auch

Referenz

DisplayPropertyAttribute Klasse

DisplayPropertyAttribute-Überladung

Microsoft.Windows.Design-Namespace