CompositionScopeDefinition 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 CompositionScopeDefinition 類別的新執行個體。
多載
CompositionScopeDefinition()
初始化 CompositionScopeDefinition 類別的新執行個體。
protected:
CompositionScopeDefinition();
protected CompositionScopeDefinition ();
Protected Sub New ()
適用於
CompositionScopeDefinition(ComposablePartCatalog, IEnumerable<CompositionScopeDefinition>)
使用指定的基礎目錄和子系,初始化 CompositionScopeDefinition 類別的新執行個體。
public:
CompositionScopeDefinition(System::ComponentModel::Composition::Primitives::ComposablePartCatalog ^ catalog, System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Hosting::CompositionScopeDefinition ^> ^ children);
public CompositionScopeDefinition (System.ComponentModel.Composition.Primitives.ComposablePartCatalog catalog, System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Hosting.CompositionScopeDefinition> children);
new System.ComponentModel.Composition.Hosting.CompositionScopeDefinition : System.ComponentModel.Composition.Primitives.ComposablePartCatalog * seq<System.ComponentModel.Composition.Hosting.CompositionScopeDefinition> -> System.ComponentModel.Composition.Hosting.CompositionScopeDefinition
Public Sub New (catalog As ComposablePartCatalog, children As IEnumerable(Of CompositionScopeDefinition))
參數
- catalog
- ComposablePartCatalog
這個目錄的基礎目錄。
- children
- IEnumerable<CompositionScopeDefinition>
此目錄之子範圍的集合。
適用於
CompositionScopeDefinition(ComposablePartCatalog, IEnumerable<CompositionScopeDefinition>, IEnumerable<ExportDefinition>)
使用指定的基礎目錄、子系和公用介面,初始化 CompositionScopeDefinition 類別的新執行個體。
public:
CompositionScopeDefinition(System::ComponentModel::Composition::Primitives::ComposablePartCatalog ^ catalog, System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Hosting::CompositionScopeDefinition ^> ^ children, System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Primitives::ExportDefinition ^> ^ publicSurface);
public CompositionScopeDefinition (System.ComponentModel.Composition.Primitives.ComposablePartCatalog catalog, System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Hosting.CompositionScopeDefinition> children, System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ExportDefinition> publicSurface);
new System.ComponentModel.Composition.Hosting.CompositionScopeDefinition : System.ComponentModel.Composition.Primitives.ComposablePartCatalog * seq<System.ComponentModel.Composition.Hosting.CompositionScopeDefinition> * seq<System.ComponentModel.Composition.Primitives.ExportDefinition> -> System.ComponentModel.Composition.Hosting.CompositionScopeDefinition
Public Sub New (catalog As ComposablePartCatalog, children As IEnumerable(Of CompositionScopeDefinition), publicSurface As IEnumerable(Of ExportDefinition))
參數
- catalog
- ComposablePartCatalog
這個目錄的基礎目錄。
- children
- IEnumerable<CompositionScopeDefinition>
此目錄之子範圍的集合。
- publicSurface
- IEnumerable<ExportDefinition>
這個目錄的公用介面。