语言

IDestinationTypeProvider.GetDestinationType 方法

定义

返回 CLR,该 CLR Type 标识相关类型转换器或标记扩展的目标类型。

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

返回

目标类型的 CLR Type 值。

注解

此方法没有输入参数。 返回的内容(以及是否返回任何其他 null内容)由 XAML 节点流中的当前节点位置决定。

服务实现者

如果重新实现此服务,该方法 GetDestinationType 应返回标记扩展或类型转换器预期针对其最具体的转换或输出类型检查的类型。

适用于