DomainPropertyInfo 类

表示字段类的属性。

继承层次结构

System.Object
  Microsoft.VisualStudio.Modeling.DomainObjectInfo
    Microsoft.VisualStudio.Modeling.DomainPropertyInfo

命名空间:  Microsoft.VisualStudio.Modeling
程序集:  Microsoft.VisualStudio.Modeling.Sdk.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)

语法

声明
Public NotInheritable Class DomainPropertyInfo _
    Inherits DomainObjectInfo
public sealed class DomainPropertyInfo : DomainObjectInfo

DomainPropertyInfo 类型公开以下成员。

属性

  名称 说明
公共属性 DefaultValue 获取此字段的特性的默认值。
公共属性 DisplayName 获取元素的显示名称。 (继承自 DomainObjectInfo。)
公共属性 DomainClass 获取此特性声明的字段类。
公共属性 DomainModel 获取域类具有此特性定义的域模型。 (重写 DomainObjectInfo.DomainModel。)
公共属性 ElementNameProvider 获取此字段的特性的一个名称提供程序。
公共属性 Id 获取元素的 ID。 (继承自 DomainObjectInfo。)
公共属性 Kind 获取此的属性。
公共属性 Name 获取元素的名称。 (继承自 DomainObjectInfo。)
公共属性 PropertyInfo 获取有关字段的特性的信息。
公共属性 PropertyType 获取已分配给属性的类型。
公共属性 ValueHandler 获取此属性的值处理程序。

页首

方法

  名称 说明
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 GetValue 获取一个属性的值特定模型元素。
公共方法 NotifyValueChange 通知侦听器属性的值已更改。
公共方法 SetValue 设置在特定模型元素的属性值。
公共方法 ToString 将元素转换为字符串。 (继承自 DomainObjectInfo。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.VisualStudio.Modeling 命名空间