This documentation is archived and is not being maintained.

IDestinationTypeProvider.GetDestinationType Method

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)

abstract GetDestinationType : unit -> Type 

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 a null reference (Nothing in Visual Basic)) is determined by the current node position in the XAML node stream.

Service Implementers

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

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.