PropertyIdentifier.DeclaringType 属性

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

获取声明此属性的类型(如果此属性是在构造函数中设置的)。

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

语法

声明
Public ReadOnly Property DeclaringType As Type
public Type DeclaringType { get; }
public:
property Type^ DeclaringType {
    Type^ get ();
}
member DeclaringType : Type
function get DeclaringType () : Type

属性值

类型:System.Type
一个声明该属性的类型;如果该属性标识符是使用 TypeIdentifier 创建的,则为 nulla null reference (Nothing in Visual Basic)。

.NET Framework 安全性

请参见

参考

PropertyIdentifier 结构

Microsoft.Windows.Design.Metadata 命名空间