DisplayPropertyAttribute 构造函数 (String)

[本文档仅供预览,在以后的发行版中可能会发生更改。包含的空白主题用作占位符。]

用指定的属性名初始化 DisplayPropertyAttribute 类的新实例。

命名空间:  Microsoft.Windows.Design
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

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

参数

  • displayPropertyName
    类型:System.String
    用于在设计器中显示的属性的名称。

.NET Framework 安全性

请参见

参考

DisplayPropertyAttribute 类

DisplayPropertyAttribute 重载

Microsoft.Windows.Design 命名空间