IXamlNamespaceResolver.GetNamespacePrefixes Method ()

.NET Framework (current version)
 

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
Show: