XamlType.AllowedContentTypes プロパティ

定義

この ContentPropertyXamlType の値として使用できる、型の読み取り専用のコレクションを取得します。

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

プロパティ値

使用可能なコンテンツ型の読み取り専用のコレクション。

注釈

特定のコンテンツ タイプを割り当て可能な型 (たとえば、許可されたコンテンツ タイプである基本タイプに割り当て可能) は、 の目的で複数の AllowedContentTypes種類とは見なされません。

の既定の内部 CLR リフレクション手法XamlTypeを使用しない場合、このプロパティを呼び出すと、派生クラスのオーバーライドをXamlType呼び出LookupAllowedContentTypesすことができます。

適用対象