XamlSchemaContext.GetXamlType Method (Type)

.NET Framework (current version)
 

Returns a XamlType that is based on a CLR type identifier.

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

public virtual XamlType GetXamlType(
	Type type
)

Parameters

type
Type: System.Type

The type to get a XamlType for.

Return Value

Type: System.Xaml.XamlType

The XamlType that matches the input type.

Exception Condition
ArgumentNullException

type is null.

This overload assumes that you are using the CLR for the backing type system. If you are not using the CLR type system, use GetXamlType(XamlTypeName).

.NET Framework
Available since 4.0
Return to top
Show: