次の方法で共有


ElementTypeDescriptor.GetProperties メソッド (array<Attribute[])

指定した属性でフィルター処理した、説明されている型のすべてのプロパティを含む、ドメインのプロパティ記述子のコレクションを返します。

名前空間:  Microsoft.VisualStudio.Modeling.Design
アセンブリ:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 内)

構文

'宣言
Public Overrides Function GetProperties ( _
    attributes As Attribute() _
) As PropertyDescriptorCollection
public override PropertyDescriptorCollection GetProperties(
    Attribute[] attributes
)

パラメーター

  • attributes
    型 : array<System.Attribute[]
    フィルター処理するカスタム属性の配列。

戻り値

型 : System.ComponentModel.PropertyDescriptorCollection
指定した属性でフィルター処理した、説明されている型のすべてのプロパティを含む、ドメインのプロパティ記述子のコレクション。

実装

ICustomTypeDescriptor.GetProperties(array<Attribute[])

解説

このメソッドの基本実装では、要素のプロパティについては、除外されません。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

ElementTypeDescriptor クラス

GetProperties オーバーロード

Microsoft.VisualStudio.Modeling.Design 名前空間