XamlSchemaContext::GetXamlType Method (XamlTypeName^)

.NET Framework (current version)
 

Returns a XamlType that is based on a XAML system type name.

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

public:
XamlType^ GetXamlType(
	XamlTypeName^ xamlTypeName
)

Parameters

xamlTypeName
Type: System.Xaml.Schema::XamlTypeName^

The XAML type name to get a XamlType for.

Return Value

Type: System.Xaml::XamlType^

The XamlType that matches the input xamlTypeName.

Exception Condition
ArgumentException

A component of xamlTypeName (Name or Namespace) is null.

ArgumentNullException

xamlTypeName is null.

.NET Framework
Available since 4.0
Return to top
Show: