Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
LookupPrefix Method
Collapse the table of content
Expand the table of content

INamespacePrefixLookup.LookupPrefix Method

.NET Framework 4.6 and 4.5

Returns the recommended prefix for a specified XAML namespace identifier.

Namespace:  System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

string LookupPrefix(
	string ns


Type: System.String

The XAML namespace identifier string for which to obtain a prefix.

Return Value

Type: System.String
The recommended prefix.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft