XamlSchemaContext.GetXamlType Method (XamlTypeName)

.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.

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: