Bewerken

Delen via


InternalTypeHelper.CreateInstance(Type, CultureInfo) Method

Definition

When overridden in a derived (generated) class, creates an instance of an internal type.

protected public:
 abstract System::Object ^ CreateInstance(Type ^ type, System::Globalization::CultureInfo ^ culture);
protected internal abstract object CreateInstance (Type type, System.Globalization.CultureInfo culture);
abstract member CreateInstance : Type * System.Globalization.CultureInfo -> obj
Protected Friend MustOverride Function CreateInstance (type As Type, culture As CultureInfo) As Object

Parameters

type
Type

The Type to create.

culture
CultureInfo

Culture specific information.

Returns

The created instance.

Remarks

The InternalTypeHelper class is not intended for use by anything other than the WPF XAML markup compiler.

Applies to