IXamlNamespaceResolver::GetNamespacePrefixes Method ()

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: