XamlType.TypeArguments プロパティ

定義

この XamlType がジェネリックを表す場合に型引数のリストを取得します。

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

プロパティ値

IList<XamlType>

型引数の型のリスト。または、この XamlType がジェネリックを表していない場合は null

注釈

パラメーターを XamlType 呼び出すと TypeArguments 、型がまだ開いているリストが返されるシナリオがいくつかあります。 この場合、返される XamlType 1 つ以上の値には、ジェネリックがまだ開かれていることを表すプレースホルダー値 XamlType.Name(例: T) が含まれます。 このシナリオは、XAML リーダーの実装からではなく、呼び出しGetXamlTypeから取得XamlTypeした場合に発生する可能性があります。

適用対象