Sdílet prostřednictvím


IXamlType.ActivateInstance Method

Definition

Given a XAML type, sets its values for initialization and returns a usable instance.

public:
 Platform::Object ^ ActivateInstance();
IInspectable ActivateInstance();
public object ActivateInstance();
function activateInstance()
Public Function ActivateInstance () As Object

Returns

Object

Platform::Object

IInspectable

The usable instance.

Remarks

This is an infrastructure API that replicates ActivateInstance for XAML activation.

Applies to