INamespacePrefixLookup Interface

.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.

Represents a service that can return the recommended prefix for a XAML namespace mapping to consumers. Consumers might include design environments or serializers.

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

public interface class INamespacePrefixLookup

NameDescription
System_CAPS_pubmethodLookupPrefix(String^)

Returns the recommended prefix for a specified XAML namespace identifier.

This interface represents the service that returns the prefix for a particular XAML namespace. A technology reports a preferred prefix for XAML namespace mapping as part of assembly-level information. This service retrieves that information.

The .NET Framework XAML Services implementation provides XmlnsPrefixAttribute as a mechanism for applying preferred prefix information at the assembly level. Existing service providers that provide the INamespacePrefixLookup service can read information from that attribute if information is available.

.NET Framework
Available since 4.0
Return to top
Show: