ExplorerBehavior 類別

指定的節點 DomainClass ExplorerBehavior 定義總管] 中自訂行為。

繼承階層架構

System.Object
  Microsoft.VisualStudio.Modeling.ModelElement
    Microsoft.VisualStudio.Modeling.DslDefinition.DomainElement
      Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerBehavior

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

語法

'宣告
<ValidationStateAttribute(ValidationState.Enabled)> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerBehavior.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainModelOwnerAttribute(GetType(DslDefinitionModelDomainModel))> _
<CLSCompliantAttribute(True)> _
<DomainObjectIdAttribute("ebfcaf71-5c87-4e20-8902-42f0fa9110a1")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerBehavior.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public NotInheritable Class ExplorerBehavior _
    Inherits DomainElement
[ValidationStateAttribute(ValidationState.Enabled)]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerBehavior.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainModelOwnerAttribute(typeof(DslDefinitionModelDomainModel))]
[CLSCompliantAttribute(true)]
[DomainObjectIdAttribute("ebfcaf71-5c87-4e20-8902-42f0fa9110a1")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerBehavior.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public sealed class ExplorerBehavior : DomainElement

ExplorerBehavior 型別會公開下列成員。

建構函式

  名稱 說明
公用方法 ExplorerBehavior(Partition, array<PropertyAssignment[]) 建構函式
公用方法 ExplorerBehavior(Store, array<PropertyAssignment[]) 建構函式

回頁首

屬性

  名稱 說明
公用屬性 CustomNodeSettings 取得一份 CustomNodeSettings。總管行為所定義的自訂節點設定。
公用屬性 DslLibrary 取得或設定 DslLibrary。定義檔案總管] 行為的 Dsl 文件庫。
公用屬性 HiddenNodes 取得一份 HiddenNodes。應隱藏其總管節點的項目路徑。
公用屬性 Id 取得項目的 ID。 (繼承自 ModelElement)。
公用屬性 IsActive 取得 IsActive 旗標,並確認,查看是否為作用中的項目。 (繼承自 ModelElement)。
公用屬性 IsDeleted 取得 IsDeleted 旗標和檢查,以查看是否已從模型刪除的項目。 (繼承自 ModelElement)。
公用屬性 IsDeleting 取得 IsDeleting 旗標,並驗證是否將項目從模型來刪除。 (繼承自 ModelElement)。
公用屬性 IsNameTracking 取得或設定 IsNameTracking 網域屬性的值。如果為 True,Name 屬性會追蹤 DSL 定義中的其他資料。
公用屬性 Name 取得或設定名稱網域屬性的值。參考的檔案總管] 行為的識別項。
公用屬性 Notes 取得或設定備忘稿網域屬性的值。這個項目相關聯非正式的備忘稿。 (繼承自 DomainElement)。
公用屬性 Partition 取得或設定Partition所包含的項目。 (繼承自 ModelElement)。
公用屬性 Store 取得Store所包含的項目。 (繼承自 ModelElement)。

回頁首

方法

  名稱 說明
公用方法 Copy() 建立模型中的項目的複本。 (繼承自 ModelElement)。
公用方法 Copy(IEnumerable<Guid>) 連結和項目,請建立一份項目,且它的子項。 (繼承自 ModelElement)。
公用方法 Delete() 從模型中刪除的項目。 (繼承自 ModelElement)。
公用方法 Delete(array<Guid[]) 從模型中刪除的項目。 (繼承自 ModelElement)。
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
公用方法 GetDomainClass 取得這個項目中最具衍生性的網域類別。 (繼承自 ModelElement)。
公用方法 GetHashCode 做為特定型別的雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
受保護的方法 OnCopy 已為另一個項目的複本建立這個項目時,會呼叫它。 (繼承自 ModelElement)。
受保護的方法 OnDeleted 從模型中刪除這個項目時,會呼叫它。 (繼承自 ModelElement)。
受保護的方法 OnDeleting 刪除這個項目時呼叫。 (繼承自 ModelElement)。
受保護的方法 OnResurrected 當這個項目加入至模型時,會呼叫它。 (繼承自 ModelElement)。
受保護的方法 OnRolePlayerPositionChanged 角色的位置已變更時呼叫。 (繼承自 ModelElement)。
受保護的方法 OnRolePlayerPositionChanging 當角色玩家位置變更時呼叫。 (繼承自 ModelElement)。
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

擴充方法

  名稱 說明
公用擴充方法 AddExtension(Guid) 多載。 延伸此 ModelElement 已識別的網域型別的新執行個體化的副檔名。如果項目已經有該類型的副檔名,將會擲回的 InvalidOperationException。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 AddExtension(Type) 多載。 延伸此 ModelElement,以指定之型別的新執行個體化的副檔名。如果項目已經有該類型的副檔名,將會擲回的 InvalidOperationException。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 AddExtension(DomainClassInfo) 多載。 延伸此 ModelElement 指定的網域型別的新執行個體化的副檔名。如果項目已經有該類型的副檔名,將會擲回的 InvalidOperationException。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 AddExtension(ExtensionElement) 多載。 擴充帶有特定延伸此 ModelElement。如果項目已經有相同類型的副檔名,將會擲回的 InvalidOperationException。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 AddExtension<T>() 多載。 延伸此 ModelElement 特定型別的新執行個體化的副檔名。如果項目已經有相同類型的副檔名,將會擲回的 InvalidOperationException。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 CanDelete 從模型中刪除的項目。 (以 ImmutabilityExtensionMethods 定義。)
公用擴充方法 GetAllExtensions 傳回可列舉,以便在執行、 強效且具內嵌在這個 ModelElement 的第一個周遊整個樹狀結構的延伸項目。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 GetBaseElement 傳回用來加入指定的 ModelElement 虛擬 MEL 的根目錄。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 GetExtension(Guid) 多載。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 GetExtension(Type) 多載。 取得指定之型別的 ExtensionElement,從可用的延伸此 ModelElement。如果沒有這類的延伸項目將會產生 InvalidOperationException。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 GetExtension(DomainClassInfo) 多載。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 GetExtension<T>() 多載。 取得指定之型別的 ExtensionElement,從可用的延伸此 ModelElement。如果沒有這類的延伸項目將會產生 InvalidOperationException。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 GetLocks 取得這個項目鎖定旗標。這會包括任何包含項目的的磁碟分割上啟用的鎖定。 (以 ImmutabilityExtensionMethods 定義。)
公用擴充方法 IsExtendedBy(Guid) 多載。 查詢是否依特定類型的 ExtensionElement 目前延伸此 ModelElement。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 IsExtendedBy(Type) 多載。 查詢是否依特定類型的 ExtensionElement 目前延伸此 ModelElement。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 IsExtendedBy(DomainClassInfo) 多載。 查詢是否依特定類型的 ExtensionElement 目前延伸此 ModelElement。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 IsLocked 測試是否這個項目會有任何一組指定的鎖定 (以 ImmutabilityExtensionMethods 定義。)
公用擴充方法 RemoveExtension(Type) 多載。 移除其他的特定型別的這個 ModelElement 的副檔名。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 RemoveExtension(Guid) 多載。 移除屬於特定型別指定任何的 ModelElement 副檔名。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 RemoveExtension(DomainClassInfo) 多載。 移除屬於特定型別指定任何的 ModelElement 副檔名。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 RemoveExtension(ExtensionElement) 多載。 指定的 ExtensionElement 移除這個 ModelElement 的副檔名。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 SetLocks 設定這個項目的鎖定旗標 (以 ImmutabilityExtensionMethods 定義。)
公用擴充方法 TryGetExtension(Guid) 多載。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 TryGetExtension(Type) 多載。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 TryGetExtension(DomainClassInfo) 多載。 (以 ModelElementExtensionMethods 定義。)
公用擴充方法 TryGetExtension<T>() 多載。 取得指定之型別的 ExtensionElement,從可用的延伸此 ModelElement。如果這個項目有沒有這類副檔名結果會是 null。 (以 ModelElementExtensionMethods 定義。)

回頁首

欄位

  名稱 說明
公用欄位靜態成員 DomainClassId ExplorerBehavior 網域類別識別碼。
公用欄位靜態成員 IsNameTrackingDomainPropertyId IsNameTracking 的網域內容識別碼。
公用欄位靜態成員 NameDomainPropertyId 名稱的網域內容識別碼。

回頁首

明確介面實作

  名稱 說明
明確介面實作私用方法 IMergeElements.CanMerge 如果這個項目可以合併具有原型的內容,則傳回 true。 (繼承自 ModelElement)。
明確介面實作私用方法 IMergeElements.ChooseMergeTarget(ElementGroup) (繼承自 ModelElement)。
明確介面實作私用方法 IMergeElements.ChooseMergeTarget(ElementGroupPrototype) (繼承自 ModelElement)。
明確介面實作私用方法 IMergeElements.MergeConfigure (繼承自 ModelElement)。
明確介面實作私用方法 IMergeElements.MergeDisconnect (繼承自 ModelElement)。
明確介面實作私用方法 IMergeElements.MergeRelate (繼承自 ModelElement)。

回頁首

執行緒安全

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

請參閱

參考

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間