INamespacePrefixLookup Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a service that can return the recommended prefix for a XAML namespace mapping to consumers. Consumers might include design environments or serializers.
public interface class INamespacePrefixLookup
public interface INamespacePrefixLookup
type INamespacePrefixLookup = interface
Public Interface INamespacePrefixLookup
Remarks
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.
Methods
LookupPrefix(String) |
Returns the recommended prefix for a specified XAML namespace identifier. |
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기