PropertyIdentifier 构造函数 (Type, String)

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

使用指定的现有类型和属性名称初始化 PropertyIdentifier 类的新实例。

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

语法

声明
Public Sub New ( _
    declaringType As Type, _
    name As String _
)
public PropertyIdentifier(
    Type declaringType,
    string name
)
public:
PropertyIdentifier(
    Type^ declaringType, 
    String^ name
)
new : 
        declaringType:Type * 
        name:string -> PropertyIdentifier
public function PropertyIdentifier(
    declaringType : Type, 
    name : String
)

参数

  • declaringType
    类型:System.Type
    在其上声明该属性的类型。

异常

异常 条件
ArgumentNullException

declaringType 或 name 为 nulla null reference (Nothing in Visual Basic)。

.NET Framework 安全性

请参见

参考

PropertyIdentifier 结构

PropertyIdentifier 重载

Microsoft.Windows.Design.Metadata 命名空间