IDestinationTypeProvider.GetDestinationType Method ()

.NET Framework (current version)

Returns the CLR Type that identifies the destination type for the relevant type converter or markup extension.

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

Type GetDestinationType()

Return Value

Type: System.Type

A CLR Type value for the destination type.

This method has no input parameter. What to return (and whether to return anything other than null) is determined by the current node position in the XAML node stream.

If you reimplement this service, the GetDestinationType method should return the type that a markup extension or type converter expects to check against its most specific conversion or output type.

.NET Framework
Available since 4.0
Return to top