TypeExtension Constructor (Type)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the TypeExtension class, declaring the type directly.

Namespace:   System.Windows.Markup
Assembly:  System.Xaml (in System.Xaml.dll)

public TypeExtension(
	Type type
)

Parameters

type
Type: System.Type

The type to be represented by this TypeExtension.

Exception Condition
ArgumentNullException

type is null

This is a helper method for run time code usages of TypeExtension and is not part of the normal implementation pattern for a markup extension.

.NET Framework
Available since 3.0
Return to top
Show: