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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.