PersonalizableAttribute.GetPersonalizableProperties(Type) メソッド

定義

パラメーターの型に一致し、カスタマイズ可能としてマークされているプロパティの PropertyInfo オブジェクトのコレクションを返します。

public:
 static System::Collections::ICollection ^ GetPersonalizableProperties(Type ^ type);
public static System.Collections.ICollection GetPersonalizableProperties(Type type);
static member GetPersonalizableProperties : Type -> System.Collections.ICollection
Public Shared Function GetPersonalizableProperties (type As Type) As ICollection

パラメーター

type
Type

Personalizableプロパティを検索する型。

返品

カスタマイズ可能なプロパティの ICollection

例外

型のパブリック プロパティは個人用としてマークされますが、読み取り専用です。

注釈

このメソッドは、0 個以上の PropertyInfo オブジェクトを含むコレクションを返します。指定された型のプロパティごとに 1 つのオブジェクトが指定され、 IsPersonalizabletrueと等しくなります。

type パラメーターは、Personalizableプロパティを検索する型です。 たとえば、"typeof(MyWebPart)"を渡して、MyWebPart クラスのPersonalizableプロパティを取得します。

適用対象