XamlTypeName.ToString Method (INamespacePrefixLookup)

.NET Framework (current version)

Converts the value of this XamlTypeName to its equivalent string representation, which can be used in markup syntax for an object element usage of a type.

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

public string ToString(
	INamespacePrefixLookup prefixLookup


Type: System.Xaml.INamespacePrefixLookup

A service reference for prefix lookup.

Return Value

Type: System.String

A prefixed usage string.

Exception Condition

Namespace for this XamlTypeName is null.


Name is not valid.


Could not look up the prefix.

.NET Framework
Available since 4.0
Return to top