Redigera

Dela via


IDestinationTypeProvider.GetDestinationType Method

Definition

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

public:
 Type ^ GetDestinationType();
public Type GetDestinationType ();
abstract member GetDestinationType : unit -> Type
Public Function GetDestinationType () As Type

Returns

A CLR Type value for the destination type.

Remarks

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.

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.

Applies to