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
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.