共用方式為


AttributedModelServices.ComposeParts(CompositionContainer, Object[]) 方法

定義

從屬性化物件的陣列建立可組合的組件,並且在指定的撰寫容器中撰寫它們。

public:
[System::Runtime::CompilerServices::Extension]
 static void ComposeParts(System::ComponentModel::Composition::Hosting::CompositionContainer ^ container, ... cli::array <System::Object ^> ^ attributedParts);
public static void ComposeParts (this System.ComponentModel.Composition.Hosting.CompositionContainer container, params object[] attributedParts);
static member ComposeParts : System.ComponentModel.Composition.Hosting.CompositionContainer * obj[] -> unit
<Extension()>
Public Sub ComposeParts (container As CompositionContainer, ParamArray attributedParts As Object())

參數

container
CompositionContainer

要在其中執行撰寫的撰寫容器。

attributedParts
Object[]

要撰寫之屬性化物件的陣列。

適用於