共用方式為


ActivityXamlServices.InitializeComponent(Type, Object) 方法

定義

初始化指定的元件。

public:
 static void InitializeComponent(Type ^ componentType, System::Object ^ componentInstance);
public static void InitializeComponent (Type componentType, object componentInstance);
static member InitializeComponent : Type * obj -> unit
Public Shared Sub InitializeComponent (componentType As Type, componentInstance As Object)

參數

componentType
Type

元件的類型。

componentInstance
Object

元件執行個體。

適用於