.NET Framework Class Library
InternalTypeHelper..::.CreateInstance Method

When overridden in a derived class, creates an internal Type.

Namespace:  System.Windows.Markup
Assembly:  WindowsBase (in WindowsBase.dll)
Syntax

Visual Basic (Declaration)
Protected Friend MustOverride Function CreateInstance ( _
    type As Type, _
    culture As CultureInfo _
) As Object
Visual Basic (Usage)
Dim type As Type
Dim culture As CultureInfo
Dim returnValue As Object

returnValue = Me.CreateInstance(type, _
    culture)
C#
protected internal abstract Object CreateInstance(
    Type type,
    CultureInfo culture
)
Visual C++
protected public:
virtual Object^ CreateInstance(
    Type^ type, 
    CultureInfo^ culture
) abstract
JScript
protected internal abstract function CreateInstance(
    type : Type, 
    culture : CultureInfo
) : Object
XAML
You cannot use methods in XAML.

Parameters

type
Type: System..::.Type
The type.
culture
Type: System.Globalization..::.CultureInfo
Culture specific information.

Return Value

Type: System..::.Object
The new internal type.
Remarks

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

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

Tags :


Page view tracker