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

组件实例。

适用于