XamlType Constructor (Type, XamlSchemaContext)

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.

ExceptionCondition
ArgumentNullException

One or more of underlyingType or schemaContext are null.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft