XamlType Constructor (Type, XamlSchemaContext)

.NET Framework (current version)
 

Initializes a new instance of the XamlType class based on the underlying CLR type information.

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

public XamlType(
	Type underlyingType,
	XamlSchemaContext schemaContext
)

Parameters

underlyingType
Type: System.Type

The underlying CLR Type for the XAML type to construct.

schemaContext
Type: System.Xaml.XamlSchemaContext

XAML schema context for XAML readers or XAML writers.

Exception Condition
ArgumentNullException

One or more of underlyingType or schemaContext are null.

.NET Framework
Available since 4.0
Return to top
Show: