共用方式為


ExplorerBehaviorTypeDescriptor 類別

自訂型別描述項類別的 ExplorerBehavior 項目。

繼承階層架構

System.Object
  System.ComponentModel.CustomTypeDescriptor
    Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
      Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerBehaviorTypeDescriptor

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

語法

'宣告
Public Class ExplorerBehaviorTypeDescriptor _
    Inherits ElementTypeDescriptor
public class ExplorerBehaviorTypeDescriptor : ElementTypeDescriptor

ExplorerBehaviorTypeDescriptor 型別會公開下列成員。

建構函式

  名稱 說明
公用方法 ExplorerBehaviorTypeDescriptor(ICustomTypeDescriptor, ModelElement) 建構函式
公用方法 ExplorerBehaviorTypeDescriptor(ICustomTypeDescriptor, Type) 建構函式

回頁首

屬性

  名稱 說明
受保護的屬性 ComponentType 取得Type的這個類別代表該模型元素。 (繼承自 ElementTypeDescriptor)。
公用屬性 ModelElement 取得這個類別代表該模型元素。 (繼承自 ElementTypeDescriptor)。
受保護的屬性 Store (繼承自 ElementTypeDescriptor)。

回頁首

方法

  名稱 說明
受保護的方法 CollectionRolePropertiesBrowsable 所有的關聯性加入此模型項目,會傳回是否以角色為基礎的集合屬性的任何 PropertyDescriptor Browsable (繼承自 ElementTypeDescriptor)。
受保護的方法 CreateCollectionPropertyDescriptor (繼承自 ElementTypeDescriptor)。
受保護的方法 CreatePropertyDescriptor 建立模型元素的屬性描述項。 (繼承自 ElementTypeDescriptor)。
受保護的方法 CreateRolePlayerPropertyDescriptor 建立模型項目的角色 」 屬性描述項。 (繼承自 ElementTypeDescriptor)。
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
受保護的方法 Finalize 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。
公用方法 GetAttributes 傳回這個型別描述項所表示之型別的自訂屬性集合。 (繼承自 CustomTypeDescriptor)。
受保護的方法 GetCategory 會傳回定義域屬性的分類的當地語系化的字串。 (繼承自 ElementTypeDescriptor)。
公用方法 GetClassName 傳回這個描述項所表示之類別的名稱。 (繼承自 ElementTypeDescriptor)。
公用方法 GetComponentName 取得由這個類別表示模型項目的名稱。 (繼承自 ElementTypeDescriptor)。
公用方法 GetConverter 傳回這個型別描述項所表示之類別的型別轉換子。 (繼承自 CustomTypeDescriptor)。
公用方法 GetDefaultEvent 傳回這個型別描述項所表示之物件的預設事件描述項。 (繼承自 CustomTypeDescriptor)。
公用方法 GetDefaultProperty 傳回這個型別描述項所表示之物件的預設屬性描述項。 (繼承自 CustomTypeDescriptor)。
受保護的方法 GetDescription 傳回網域屬性的描述,當地語系化的字串。 (繼承自 ElementTypeDescriptor)。
受保護的方法 GetDisplayProperties(ModelElement, PropertyDescriptor%) 傳回模型項目的所有屬性的屬性描述項的集合。 (繼承自 ElementTypeDescriptor)。
受保護的方法 GetDisplayProperties(ModelElement, Store, PropertyDescriptor%) 傳回對應到網域中的每個屬性的屬性描述項目的清單 (繼承自 ElementTypeDescriptor)。
受保護的方法 GetDomainClassInfo 傳回的型別描述項目的網域類別資訊。 (繼承自 ElementTypeDescriptor)。
受保護的方法 GetDomainPropertyAttributes 傳回套用至 [描述] 屬性的自訂屬性陣列。 (繼承自 ElementTypeDescriptor)。
公用方法 GetEditor 傳回指定型別的編輯器,這個指定型別與這個型別描述項所表示的類別關聯。 (繼承自 CustomTypeDescriptor)。
公用方法 GetEvents() 傳回這個型別描述項所表示之物件的事件描述項集合。 (繼承自 CustomTypeDescriptor)。
公用方法 GetEvents(array<Attribute[]) 傳回這個型別描述項所表示之物件的已篩選事件描述項集合。 (繼承自 CustomTypeDescriptor)。
受保護的方法 GetExtensionProperties 傳回任何延伸項目屬性描述項 (繼承自 ElementTypeDescriptor)。
公用方法 GetHashCode 做為特定型別的雜湊函式。 (繼承自 Object)。
公用方法 GetProperties() 傳回網域屬性描述項的集合,包含描述型別的所有屬性。 (繼承自 ElementTypeDescriptor)。
公用方法 GetProperties(array<Attribute[]) 會傳回 ExplorerBehavior 的執行個體的屬性描述項集合。 (覆寫 ElementTypeDescriptor.GetProperties(array<Attribute[])。)
受保護的方法 GetPropertyDescriptorDisplayName 會傳回定義域屬性的顯示名稱 」 的當地語系化的字串。 (繼承自 ElementTypeDescriptor)。
公用方法 GetPropertyOwner 傳回物件,包含指定的屬性描述項所描述的屬性。 (繼承自 CustomTypeDescriptor)。
受保護的方法 GetRolePlayerPropertyAttributes 傳回套用至所述的角色 」 屬性的自訂屬性陣列。 (繼承自 ElementTypeDescriptor)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
受保護的方法 IncludeCollectionRoleProperties 傳回 [所有關聯性加入此模型項目,是否要提供以角色為基礎的集合屬性中的 PropertyDescriptor。 (繼承自 ElementTypeDescriptor)。
受保護的方法 IncludeEmbeddingRelationshipProperties 對於指定的模型項目,會傳回值,指出是否要新增的任何內嵌的關係,不允許重複的項目之目標項目的屬性。 (繼承自 ElementTypeDescriptor)。
受保護的方法 IncludeOppositeRolePlayerProperties 對於指定的模型項目,會傳回值,指出是否要新增 [0-1 和一對一關聯性的角色屬性。 (繼承自 ElementTypeDescriptor)。
受保護的方法 IsPropertyDescriptorReadOnly 傳回值,指出 [描述] 屬性是唯讀的。 (繼承自 ElementTypeDescriptor)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。
受保護的方法 ShouldCreateCollectionPropertyDescriptor 關聯性和相關的執行個體層級的角色扮演者,傳回是否要建立之集合的屬性描述項 (繼承自 ElementTypeDescriptor)。
受保護的方法 ShouldCreatePropertyDescriptor 傳回值,指出是否應該建立指定的網域屬性的描述項。 (繼承自 ElementTypeDescriptor)。
受保護的方法 ShouldCreateRolePlayerPropertyDescriptor 傳回值,指出是否應該建立指定的角色屬性的描述項。 (繼承自 ElementTypeDescriptor)。
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間