DesignPropertyDescriptor 类

该类及其成员保留供内部使用,不应在代码中使用。

继承层次结构

System.Object
  System.ComponentModel.MemberDescriptor
    System.ComponentModel.PropertyDescriptor
      Microsoft.VisualStudio.Data.Schema.Package.Project.Internal.DesignPropertyDescriptor

命名空间:  Microsoft.VisualStudio.Data.Schema.Package.Project.Internal
程序集:  Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

语法

声明
Public Class DesignPropertyDescriptor _
    Inherits PropertyDescriptor
public class DesignPropertyDescriptor : PropertyDescriptor
public ref class DesignPropertyDescriptor : public PropertyDescriptor
type DesignPropertyDescriptor =  
    class
        inherit PropertyDescriptor
    end
public class DesignPropertyDescriptor extends PropertyDescriptor

DesignPropertyDescriptor 类型公开以下成员。

构造函数

  名称 说明
公共方法 DesignPropertyDescriptor 该类及其成员保留供内部使用,不应在代码中使用。

页首

属性

  名称 说明
受保护的属性 AttributeArray 获取或设置特性数组。 (继承自 MemberDescriptor。)
公共属性 Attributes 获取该成员的特性集合。 (继承自 MemberDescriptor。)
公共属性 Category 获取该成员所属的类别的名称,如 CategoryAttribute 中所指定的。 (继承自 MemberDescriptor。)
公共属性 ComponentType 该类及其成员保留供内部使用,不应在代码中使用。 (重写 PropertyDescriptor.ComponentType。)
公共属性 Converter 该类及其成员保留供内部使用,不应在代码中使用。 (重写 PropertyDescriptor.Converter。)
公共属性 Description 获取成员的说明,如 DescriptionAttribute 中所指定的。 (继承自 MemberDescriptor。)
公共属性 DesignTimeOnly 获取是否只能在设计时设置该成员,如 DesignOnlyAttribute 中所指定的。 (继承自 MemberDescriptor。)
公共属性 DisplayName 该类及其成员保留供内部使用,不应在代码中使用。 (重写 MemberDescriptor.DisplayName。)
公共属性 IsBrowsable 获取一个指示该成员是否可浏览的值,如 BrowsableAttribute 中所指定的。 (继承自 MemberDescriptor。)
公共属性 IsLocalizable 获取指示是否应该本地化该属性的值,如 LocalizableAttribute 中所指定的值。 (继承自 PropertyDescriptor。)
公共属性 IsReadOnly 该类及其成员保留供内部使用,不应在代码中使用。 (重写 PropertyDescriptor.IsReadOnly。)
公共属性 Name 获取此成员的名称。 (继承自 MemberDescriptor。)
受保护的属性 NameHashCode 获取此成员名称的哈希代码,如 GetHashCode 中所指定的。 (继承自 MemberDescriptor。)
公共属性 PropertyType 该类及其成员保留供内部使用,不应在代码中使用。 (重写 PropertyDescriptor.PropertyType。)
公共属性 SerializationVisibility 获取指示是否应该序列化该属性的值,如 DesignerSerializationVisibilityAttribute 中所指定的值。 (继承自 PropertyDescriptor。)
公共属性 SupportsChangeEvents 获取一个值,该值指示此属性的值更改通知是否源自属性说明符的外部。 (继承自 PropertyDescriptor。)

页首

方法

  名称 说明
公共方法 AddValueChanged 使其他对象在此属性更改时能得到通知。 (继承自 PropertyDescriptor。)
公共方法 CanResetValue 该类及其成员保留供内部使用,不应在代码中使用。 (重写 PropertyDescriptor.CanResetValue(Object)。)
受保护的方法 CreateAttributeCollection 使用传递到构造函数的特性数组创建特性的集合。 (继承自 MemberDescriptor。)
受保护的方法 CreateInstance 创建指定类型的实例。 (继承自 PropertyDescriptor。)
公共方法 Equals 将此对象与另一个对象进行比较,看看它们是否相等。 (继承自 PropertyDescriptor。)
受保护的方法 FillAttributes PropertyDescriptor 的特性添加到父类中的指定特性列表中。 (继承自 PropertyDescriptor。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetChildProperties() 返回默认的 PropertyDescriptorCollection。 (继承自 PropertyDescriptor。)
公共方法 GetChildProperties(array<Attribute[]) 通过将指定的特性数组用作筛选器,返回 PropertyDescriptorCollection。 (继承自 PropertyDescriptor。)
公共方法 GetChildProperties(Object) 返回给定对象的 PropertyDescriptorCollection。 (继承自 PropertyDescriptor。)
公共方法 GetChildProperties(Object, array<Attribute[]) 通过将指定的特性数组用作筛选器,返回给定对象的 PropertyDescriptorCollection。 (继承自 PropertyDescriptor。)
公共方法 GetEditor 该类及其成员保留供内部使用,不应在代码中使用。 (重写 PropertyDescriptor.GetEditor(Type)。)
公共方法 GetHashCode 返回该对象的哈希代码。 (继承自 PropertyDescriptor。)
受保护的方法 GetInvocationTarget 此方法返回应在成员调用期间使用的对象。 (继承自 PropertyDescriptor。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 GetTypeFromName 返回使用其名称的类型。 (继承自 PropertyDescriptor。)
公共方法 GetTypeFromNameProperty 该类及其成员保留供内部使用,不应在代码中使用。
公共方法 GetValue 该类及其成员保留供内部使用,不应在代码中使用。 (重写 PropertyDescriptor.GetValue(Object)。)
受保护的方法 GetValueChangedHandler 检索特定组件的 ValueChanged 事件处理程序的当前集合。 (继承自 PropertyDescriptor。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
受保护的方法 OnValueChanged 引发已实现的 ValueChanged 事件。 (继承自 PropertyDescriptor。)
公共方法 RemoveValueChanged 使其他对象在此属性更改时能得到通知。 (继承自 PropertyDescriptor。)
公共方法 ResetValue 该类及其成员保留供内部使用,不应在代码中使用。 (重写 PropertyDescriptor.ResetValue(Object)。)
公共方法 SetValue 该类及其成员保留供内部使用,不应在代码中使用。 (重写 PropertyDescriptor.SetValue(Object, Object)。)
公共方法 ShouldSerializeValue 该类及其成员保留供内部使用,不应在代码中使用。 (重写 PropertyDescriptor.ShouldSerializeValue(Object)。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

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

请参见

参考

Microsoft.VisualStudio.Data.Schema.Package.Project.Internal 命名空间