現在のの指定した属性を参照するオブジェクトを一致するイベントの EventDescriptorCollection のコレクションを取得します。
名前空間: Microsoft.VisualStudio.Data.Framework
アセンブリ: Microsoft.VisualStudio.Data.Framework (Microsoft.VisualStudio.Data.Framework.dll 内)
構文
'宣言
Public Overridable Function GetEvents ( _
attributes As Attribute() _
) As EventDescriptorCollection
public virtual EventDescriptorCollection GetEvents(
Attribute[] attributes
)
public:
virtual EventDescriptorCollection^ GetEvents(
array<Attribute^>^ attributes
)
abstract GetEvents :
attributes:Attribute[] -> EventDescriptorCollection
override GetEvents :
attributes:Attribute[] -> EventDescriptorCollection
public function GetEvents(
attributes : Attribute[]
) : EventDescriptorCollection
パラメーター
- attributes
型 : array<System.Attribute[]
Attribute の配列を返すにイベントのフィルターとしてオブジェクトを指定します。
戻り値
型 : System.ComponentModel.EventDescriptorCollection
現在のの指定した属性を参照するオブジェクトを一致するイベントを含む EventDescriptorCollection のコレクションを返します。
実装
ICustomTypeDescriptor.GetEvents(array<Attribute[])
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。