XamlControlsXamlMetaDataProvider.GetXamlType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
Returns
The schema context's implementation of the IXamlType concept.
Implements
- Attributes