INamespacePrefixLookup.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 recommended prefix for a specified XAML namespace identifier.
public:
System::String ^ LookupPrefix(System::String ^ ns);
public string LookupPrefix (string ns);
abstract member LookupPrefix : string -> string
Public Function LookupPrefix (ns As String) As String
Parameters
- ns
- String
The XAML namespace identifier string for which to obtain a prefix.
Returns
The recommended prefix.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.