INamespacePrefixLookup Interface
Represents a service that can return the recommended prefix for a XAML namespace mapping to consumers. Consumers might include design environments or serializers.
Assembly: System.Xaml (in System.Xaml.dll)
The INamespacePrefixLookup type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | LookupPrefix | 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
