INamespacePrefixLookup.LookupPrefix Method (String)

.NET Framework (current version)
 

Returns the recommended prefix for a specified XAML namespace identifier.

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

string LookupPrefix(
	string ns
)

Parameters

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
Available since 4.0
Return to top
Show: