DataConnectionProperties.ICustomTypeDescriptor.GetEvents メソッド (array<Attribute )

フィルター属性として指定の配列を使用してコンポーネントのインスタンスのイベントを取得します。

名前空間:  Microsoft.VisualStudio.Data.Framework
アセンブリ:  Microsoft.VisualStudio.Data.Framework (Microsoft.VisualStudio.Data.Framework.dll 内)

構文

'宣言
Private Function GetEvents ( _
    attributes As Attribute() _
) As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents
EventDescriptorCollection ICustomTypeDescriptor.GetEvents(
    Attribute[] attributes
)
private:
virtual EventDescriptorCollection^ GetEvents(
    array<Attribute^>^ attributes
) sealed = ICustomTypeDescriptor::GetEvents
private abstract GetEvents : 
        attributes:Attribute[] -> EventDescriptorCollection 
private override GetEvents : 
        attributes:Attribute[] -> EventDescriptorCollection 
JScript では、明示的なインターフェイスの実装はサポートされません。

パラメーター

戻り値

型 : System.ComponentModel.EventDescriptorCollection
指定した構成のインスタンスのフィルター処理イベントを表す EventDescriptorCollection のコレクション。

実装

ICustomTypeDescriptor.GetEvents(array<Attribute[])

解説

このメソッドは GetEvents のメソッドの実装を提供します。詳細については、.NET Framework のクラス ライブラリ GetEvents(System.Attribute[]) のメソッドを参照してください。

attributes 配列に Attribute が指定され、イベントにその属性に対応するクラス インスタンスがないときに、Attribute が既定のイベントである場合、返される配列にはそのイベントが含まれます。

.NET Framework セキュリティ

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

参照

関連項目

DataConnectionProperties クラス

GetEvents オーバーロード

Microsoft.VisualStudio.Data.Framework 名前空間