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
)

Parameters

prefixLookup
Type: System.Xaml.INamespacePrefixLookup

A service reference for prefix lookup.

Return Value

Type: System.String

A prefixed usage string.

Exception Condition
InvalidOperationException

Namespace for this XamlTypeName is null.

-or-

Name is not valid.

-or-

Could not look up the prefix.

.NET Framework
Available since 4.0
Return to top
Show: