XmlnsDictionary.LookupPrefix(String) Method
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.
Returns the prefix that corresponds to the specified XAML namespace URI.
public:
System::String ^ LookupPrefix(System::String ^ xmlNamespace);
public string LookupPrefix (string xmlNamespace);
member this.LookupPrefix : string -> string
Public Function LookupPrefix (xmlNamespace As String) As String
Parameters
- xmlNamespace
- String
The XAML namespace URI to look up.
Returns
The XML prefix that corresponds to the given namespace; otherwise, null
.
Exceptions
xmlNamespace
is null
.
Remarks
If you request the prefix for the default namespace, an empty string is returned.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.