DataViewPropertyDescriptor 類別
表示節點的動態屬性在資料檢視階層架構。
繼承階層架構
Object
MemberDescriptor
PropertyDescriptor
Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor
命名空間: Microsoft.VisualStudio.Data.Framework
組件: Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)
語法
'宣告
Public Class DataViewPropertyDescriptor _
Inherits PropertyDescriptor
public class DataViewPropertyDescriptor : PropertyDescriptor
public ref class DataViewPropertyDescriptor : public PropertyDescriptor
type DataViewPropertyDescriptor =
class
inherit PropertyDescriptor
end
public class DataViewPropertyDescriptor extends PropertyDescriptor
DataViewPropertyDescriptor 類型會公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
![]() |
DataViewPropertyDescriptor(PropertyDescriptor) | DataViewPropertyDescriptor 初始化類別的新執行個體的屬性描述項的物件。 |
![]() |
DataViewPropertyDescriptor(String) | DataViewPropertyDescriptor 初始化類別的新執行個體的屬性名稱。 |
![]() |
DataViewPropertyDescriptor(PropertyDescriptor, array<Attribute[]) | DataViewPropertyDescriptor 和初始化類別的新執行個體的屬性描述項物件的屬性。 |
![]() |
DataViewPropertyDescriptor(String, array<Attribute[]) | DataViewPropertyDescriptor 初始化類別的新執行個體的屬性名稱和屬性。 |
![]() |
DataViewPropertyDescriptor(String, String) | DataViewPropertyDescriptor 初始化類別的新執行個體的屬性名稱和屬性的顯示名稱。 |
![]() |
DataViewPropertyDescriptor(String, String, String) | DataViewPropertyDescriptor 初始化類別的新執行個體的屬性名稱、顯示名稱和類別名稱。 |
![]() |
DataViewPropertyDescriptor(String, String, String, String) | DataViewPropertyDescriptor 初始化類別的新執行個體的屬性名稱,屬性名稱來顯示目的,分類名稱和說明的另一版本的。 |
![]() |
DataViewPropertyDescriptor(String, String, String, String, Boolean) | DataViewPropertyDescriptor 初始化類別的新執行個體的屬性名稱,屬性名稱來顯示目的,分類名稱和說明的另一版本的。 |
回頁首
屬性
名稱 | 描述 | |
---|---|---|
![]() |
AttributeArray | 取得或設定屬性的陣列。 (繼承自 MemberDescriptor)。 |
![]() |
Attributes | 取得屬性的集合與目前屬性描述項。 (覆寫 MemberDescriptor.Attributes。) |
![]() |
Category | 從目前的屬性描述項的 CategoryAttribute 取得分類。 (覆寫 MemberDescriptor.Category。) |
![]() |
ComponentType | 取得屬性所繫結的元件型別。 (覆寫 PropertyDescriptor.ComponentType。) |
![]() |
Converter | 取得目前的屬性描述項的型別轉換子。 (覆寫 PropertyDescriptor.Converter。) |
![]() |
Description | 從目前的屬性描述項的 DescriptionAttribute 取得描述。 (覆寫 MemberDescriptor.Description。) |
![]() |
DesignTimeOnly | 取得值,表示這個成員是否只在設計階段設定,如 DesignOnlyAttribute 中所指定的。 (繼承自 MemberDescriptor)。 |
![]() |
DisplayName | 取得可在視窗 (例如 [屬性] 視窗) 中顯示的名稱。 (繼承自 MemberDescriptor)。 |
![]() |
IsBrowsable | 取得值,表示成員是否可瀏覽,如 BrowsableAttribute 中指定的。 (繼承自 MemberDescriptor)。 |
![]() |
IsLocalizable | 取得值,表示這個屬性是否應該當地語系化,如 LocalizableAttribute 中指定的。 (繼承自 PropertyDescriptor)。 |
![]() |
IsReadOnly | 取得目前的屬性描述項是否為唯讀。 (覆寫 PropertyDescriptor.IsReadOnly。) |
![]() |
Name | 取得屬性名稱。 (覆寫 MemberDescriptor.Name。) |
![]() |
NameHashCode | 取得屬性名稱的雜湊程式碼。 (覆寫 MemberDescriptor.NameHashCode。) |
![]() |
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(Attribute) | 使用指定的屬性陣列做為篩選條件,傳回 PropertyDescriptorCollection。 (繼承自 PropertyDescriptor)。 |
![]() |
GetChildProperties(Object) | 傳回指定物件的 PropertyDescriptorCollection。 (繼承自 PropertyDescriptor)。 |
![]() |
GetChildProperties(Object, array<Attribute[]) | 傳回指定元件的 PropertyDescriptorCollection ,使用指定的屬性陣列做為篩選條件。 (覆寫 PropertyDescriptor.GetChildProperties(Object, Attribute)。) |
![]() |
GetEditor | 取得指定型別的編輯器。 (繼承自 PropertyDescriptor)。 |
![]() |
GetHashCode | 傳回這個物件的雜湊程式碼。 (繼承自 PropertyDescriptor)。 |
![]() |
GetInvocationTarget | 這個方法會傳回應該在成員的引動過程使用的物件。 (繼承自 PropertyDescriptor)。 |
![]() |
GetType | 取得目前實例 Type 的屬性。 (繼承自 Object)。 |
![]() |
GetTypeFromName | 使用其名稱以傳回型別。 (繼承自 PropertyDescriptor)。 |
![]() |
GetValue | 取得指定元件的目前屬性值。 (覆寫 PropertyDescriptor.GetValue(Object)。) |
![]() |
GetValueChangedHandler | 對特定元件擷取目前的 ValueChanged 事件處理常式集 (繼承自 PropertyDescriptor)。 |
![]() |
MemberwiseClone | 建立目前 Object 的淺層複製 (Shallow Copy) 。 (繼承自 Object)。 |
![]() |
OnValueChanged | 引發您實作的 ValueChanged 事件。 (繼承自 PropertyDescriptor)。 |
![]() |
RemoveValueChanged | 使其他物件能在這個屬性變更時受到告知。 (繼承自 PropertyDescriptor)。 |
![]() |
ResetValue | 重設指定元件的屬性值設定為預設值。 (覆寫 PropertyDescriptor.ResetValue(Object)。) |
![]() |
SetAttribute | 將指定的屬性加入至這個屬性 (Property) 的屬性 (Attribute) 清單。 |
![]() |
SetAttributes | 將指定的屬性加入至這個屬性 (Property) 的屬性 (Attribute) 清單。 |
![]() |
SetCategory | 使用指定的分類值,設定類別的屬性。 |
![]() |
SetComponentType | 設定元件型別為指定的型別。 |
![]() |
SetConverterType(String) | 將 TypeConverterAttribute,使用指定的型別名稱做為屬性描述項的資料轉換子。 |
![]() |
SetConverterType(Type) | 將 TypeConverterAttribute,使用指定型別做為屬性描述項的資料轉換子。 |
![]() |
SetDescription | 使用指定的描述值,設定描述屬性。 |
![]() |
SetDisplayName | 使用指定的顯示名稱的值,設定顯示名稱屬性。 |
![]() |
SetIsBrowsable | 將 BrowsableAttribute 以顯示指定的 Boolean 值對應屬性是否可修改在 [屬性] 視窗中的設計階段。 |
![]() |
SetIsLocalizable | 將 LocalizableAttribute 以顯示指定的 Boolean 值對應屬性是否應該當地語系化。 |
![]() |
SetIsReadOnly | 將 ReadOnlyAttribute 以顯示指定的 Boolean 值對應的屬性是否為唯讀。 |
![]() |
SetName | 設定屬性名稱。 |
![]() |
SetPropertyType | 設定屬性型別為指定的型別。 |
![]() |
SetValue | 會設定指定元件的屬性值設為新值。 (覆寫 PropertyDescriptor.SetValue(Object, Object)。) |
![]() |
ShouldSerializeValue | 指示是否應該序列化指定元件的屬性值。 (覆寫 PropertyDescriptor.ShouldSerializeValue(Object)。) |
![]() |
ToString | 傳回代表目前物件的字串。 (繼承自 Object)。 |
回頁首
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。