XamlType.LookupContentWrappers 方法

定義

取得 XamlType 值的清單,這些值表示這個 XamlType 的內容包裝函式。

protected:
 virtual System::Collections::Generic::IList<System::Xaml::XamlType ^> ^ LookupContentWrappers();
protected virtual System.Collections.Generic.IList<System.Xaml.XamlType> LookupContentWrappers ();
abstract member LookupContentWrappers : unit -> System.Collections.Generic.IList<System.Xaml.XamlType>
override this.LookupContentWrappers : unit -> System.Collections.Generic.IList<System.Xaml.XamlType>
Protected Overridable Function LookupContentWrappers () As IList(Of XamlType)

傳回

XamlType 值的清單,表示這個 XamlType 的內容包裝函式。

備註

內容包裝函式是一種類別,當該集合中使用的類型與類型系統不連續時,代表內容類型類型。 內容包裝函式的集合專案類型預期會以某種方式 Object 限制于或中性物件對等專案。 不過,這項限制只會由使用該類型之屬性的設計或用途強制執行,而不是由類型系統強制執行。 類型上可以存在一個以上的內容包裝函式。

如需 WPF XAML 實作的範例類別和案例,請參閱 InlineCollection

適用於