語言

IDestinationTypeProvider.GetDestinationType 方法

定義

回傳識別目標類型的CLR Type ,用於相關型別轉換器或標記擴充。

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

傳回

目的類別的 CLR Type 值。

備註

此方法沒有輸入參數。 要回傳什麼(以及是否回傳除 null)以外的內容,取決於目前 XAML 節點串流中的節點位置。

服務實作者

如果你重新實作這項服務,該 GetDestinationType 方法應該會回傳標記擴充或類型轉換器預期會與其最特定轉換或輸出類型進行檢查的類型。

適用於