XamlType Constructor (Type, XamlSchemaContext, XamlTypeInvoker)

.NET Framework (current version)
 
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 XamlType class based on underlying type information and a XamlTypeInvoker implementation.

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

public XamlType(
	Type underlyingType,
	XamlSchemaContext schemaContext,
	XamlTypeInvoker invoker
)

Parameters

underlyingType
Type: System.Type

The underlying type for the XAML type to construct.

schemaContext
Type: System.Xaml.XamlSchemaContext

XAML schema context for the XAML reader.

invoker
Type: System.Xaml.Schema.XamlTypeInvoker

The XamlTypeInvoker implementation that handles run-time reflection calls against the XamlType.

Exception Condition
ArgumentNullException

One or more of underlyingType or schemaContext are null.

.NET Framework
Available since 4.0
Return to top
Show: