IXamlMetadataProvider IXamlMetadataProvider IXamlMetadataProvider Interface

Implements XAML schema context concepts that support XAML parsing.

Syntax

Declaration

public interface IXamlMetadataProviderpublic interface IXamlMetadataProviderPublic Interface IXamlMetadataProvider

Remarks

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

Methods summary

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

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

Gets the set of XMLNS (XAML namespace) definitions that apply to the context.

Methods

  • GetXamlType(System.String)
    GetXamlType(System.String)
    GetXamlType(System.String)
    GetXamlType(System.String)

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

    public IXamlType GetXamlType(System.String fullName)public IXamlType GetXamlType(System.String fullName)Public Function GetXamlType(fullName As System.String) As IXamlType

    Parameters

    • fullName
      System.String
      System.String
      System.String

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

    Returns

  • GetXamlType(Windows.UI.Xaml.Interop.TypeName)
    GetXamlType(Windows.UI.Xaml.Interop.TypeName)
    GetXamlType(Windows.UI.Xaml.Interop.TypeName)
    GetXamlType(Windows.UI.Xaml.Interop.TypeName)

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

    public IXamlType GetXamlType(Windows.UI.Xaml.Interop.TypeName type)public IXamlType GetXamlType(Windows.UI.Xaml.Interop.TypeName type)Public Function GetXamlType(type As Windows.UI.Xaml.Interop.TypeName) As IXamlType

    Parameters

    Returns

    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.

  • GetXmlnsDefinitions()
    GetXmlnsDefinitions()
    GetXmlnsDefinitions()
    GetXmlnsDefinitions()

    Gets the set of XMLNS (XAML namespace) definitions that apply to the context.

    public XmlnsDefinition[] GetXmlnsDefinitions()public XmlnsDefinition[] GetXmlnsDefinitions()Public Function GetXmlnsDefinitions() As XmlnsDefinition[]

    Returns

    • Windows.UI.Xaml.Markup.XmlnsDefinition[]
      Windows.UI.Xaml.Markup.XmlnsDefinition[]
      Windows.UI.Xaml.Markup.XmlnsDefinition[]

      The set of XMLNS (XAML namespace) definitions.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute
Windows.Foundation.Metadata.GuidAttribute

Details

Assembly

Windows.UI.Xaml.Markup.dll