XamlType.ContentWrappers プロパティ

定義

厳密に型指定された Collection<T> の文字列などのように、型の一致が厳密でない場合に、コンテンツ プロパティのコンテンツをラップする型を取得します。

public:
 property System::Collections::Generic::IList<System::Xaml::XamlType ^> ^ ContentWrappers { System::Collections::Generic::IList<System::Xaml::XamlType ^> ^ get(); };
public System.Collections.Generic.IList<System.Xaml.XamlType> ContentWrappers { get; }
member this.ContentWrappers : System.Collections.Generic.IList<System.Xaml.XamlType>
Public ReadOnly Property ContentWrappers As IList(Of XamlType)

プロパティ値

使用可能なコンテンツ ラッパー型の読み取り専用のコレクション、または null

注釈

型の一致の緩みを考慮するラッパーがない場合、このプロパティは です null

特定のコンテンツ タイプに対して として CanAssignTo 評価される型は、 の目的では複数の ContentWrappers種類とは見なされません。

XamlTypeの CLR バインドSystem.Xamlでは、XAML コンテンツ ラッパー型を としてContentWrapperAttribute型に指定できます。

の既定の内部 CLR リフレクション手法XamlTypeを使用しない場合、このプロパティを呼び出すと、派生クラスのオーバーライドをXamlType呼び出LookupContentWrappersすことができます。 戻り値とその他の動作の詳細については、この型のドキュメントを LookupContentWrappers 参照してください。

適用対象