Share via


XamlControlsXamlMetaDataProvider.GetXamlType Method

Definition

Overloads

GetXamlType(String)

Implements XAML schema context access to underlying type mapping, based on specifying a full type name.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

GetXamlType(TypeName)

Implements XAML schema context access to underlying type mapping, based on providing a helper value that describes a type.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

GetXamlType(String)

Implements XAML schema context access to underlying type mapping, based on specifying a full type name.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 virtual IXamlType ^ GetXamlType(Platform::String ^ fullName) = GetXamlType;
/// [Windows.Foundation.Metadata.Overload("GetXamlTypeByFullName")]
IXamlType GetXamlType(winrt::hstring const& fullName);
[Windows.Foundation.Metadata.Overload("GetXamlTypeByFullName")]
public IXamlType GetXamlType(string fullName);
Public Function GetXamlType (fullName As String) As IXamlType

Parameters

fullName
String

Platform::String

winrt::hstring

The name of the class for which to return a XAML type mapping.

Returns

The schema context's implementation of the IXamlType concept.

Implements

M:Windows.UI.Xaml.Markup.IXamlMetadataProvider.GetXamlType(System.String) M:Windows.UI.Xaml.Markup.IXamlMetadataProvider.GetXamlType(Platform::String) M:Windows.UI.Xaml.Markup.IXamlMetadataProvider.GetXamlType(winrt::hstring)
Attributes

Applies to

GetXamlType(TypeName)

Implements XAML schema context access to underlying type mapping, based on providing a helper value that describes a type.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 virtual IXamlType ^ GetXamlType(TypeName type) = GetXamlType;
/// [Windows.Foundation.Metadata.DefaultOverload]
/// [Windows.Foundation.Metadata.Overload("GetXamlType")]
IXamlType GetXamlType(TypeName const& type);
[Windows.Foundation.Metadata.DefaultOverload]
[Windows.Foundation.Metadata.Overload("GetXamlType")]
public IXamlType GetXamlType(System.Type type);
Public Function GetXamlType (type As Type) As IXamlType

Parameters

type
TypeName Type

The type as represented by the relevant type system or interop support type.

Returns

The schema context's implementation of the IXamlType concept.

Implements

M:Windows.UI.Xaml.Markup.IXamlMetadataProvider.GetXamlType(Windows.UI.Xaml.Interop.TypeName) M:Windows.UI.Xaml.Markup.IXamlMetadataProvider.GetXamlType(System.Type)
Attributes

Applies to