GetNamespacePrefixes Method
Collapse the table of content
Expand the table of content

IXamlNamespaceResolver.GetNamespacePrefixes Method ()

.NET Framework 4.6 and 4.5

Returns all the possible prefix-to-XAML namespace mappings (NamespaceDeclaration values) that are available in the active XAML schema context.

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

IEnumerable<NamespaceDeclaration> GetNamespacePrefixes()

Return Value

Type: System.Collections.Generic.IEnumerable<NamespaceDeclaration>

An enumerable set of NamespaceDeclaration values. To get all the prefix strings, get the NamespaceDeclaration.Prefix value from each value in the returned set. To get prefixes for specific XAML namespaces, process any return value that has the desired Namespace value.

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