GetXamlNamespaces Method

XamlDirective.GetXamlNamespaces Method ()

.NET Framework (current version)

Returns a list of XAML namespaces where this XAML member can exist.

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public override IList<string> GetXamlNamespaces()

Return Value

Type: System.Collections.Generic.IList<String>

A list of XAML namespace identifiers, as strings.

The XAML namespace identifiers are strings that typically appear in the Uniform Resource Identifier (URI) string form according to the usual conventions for XAML and XML namespaces. If the list contains more than one item, the first item in the set is usually the relevant primary XAML namespace for processing purposes, and the other items are alternates. XamlMember.PreferredXamlNamespace relies on this ordering.

.NET Framework
Available since 4.0
Return to top
© 2016 Microsoft