IXamlMetadataProvider.GetXamlType Method

Definition

Overloads

GetXamlType(String)

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

GetXamlType(TypeName)

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

GetXamlType(String)

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

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

Parameters

fullName
String

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

Returns

IXamlType

The schema context's implementation of the IXamlType concept.

Attributes

See also

Applies to

GetXamlType(TypeName)

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

public:
 IXamlType ^ GetXamlType(TypeName type);
/// [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);
function getXamlType(type)
Public Function GetXamlType (type As Type) As IXamlType

Parameters

type
TypeName Type

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

Returns

IXamlType

The schema context's implementation of the IXamlType concept.

Attributes

Remarks

Note

If you are programming using a Microsoft .NET language (C# or Microsoft Visual Basic), the TypeName type projects as System.Type.

For more info on IXamlMetadataProvider, IXamlType and IXamlMember and how these are used for XAML custom types, see "Remarks" section of IXamlType.

See also

Applies to