EventBindingService クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
IEventBindingService インターフェイスの既定の実装。
public ref class EventBindingService abstract : System::ComponentModel::Design::IEventBindingService
public abstract class EventBindingService : System.ComponentModel.Design.IEventBindingService
[System.Security.SecurityCritical]
public abstract class EventBindingService : System.ComponentModel.Design.IEventBindingService
type EventBindingService = class
interface IEventBindingService
[<System.Security.SecurityCritical>]
type EventBindingService = class
interface IEventBindingService
Public MustInherit Class EventBindingService
Implements IEventBindingService
- 継承
-
EventBindingService
- 属性
- 実装
注釈
EventBindingServiceは、コンポーネント イベントのイベント ハンドラーを登録するためのサービスを提供することで、デザイナー コードからイベント ハンドラーとコンポーネント イベントをリンクする方法を提供します。
コンストラクター
| 名前 | 説明 |
|---|---|
| EventBindingService(IServiceProvider) |
EventBindingService クラスの新しいインスタンスを初期化します。 |
メソッド
| 名前 | 説明 |
|---|---|
| CreateUniqueMethodName(IComponent, EventDescriptor) |
一意のメソッド名を作成します。 |
| Equals(Object) |
指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。 (継承元 Object) |
| FreeMethod(IComponent, EventDescriptor, String) |
特定のメソッドがイベント ハンドラーによって使用されなくなったことを示す通知を提供します。 |
| GetCompatibleMethods(EventDescriptor) |
互換性のあるメソッドの名前のコレクションを返します。 |
| GetHashCode() |
既定のハッシュ関数として機能します。 (継承元 Object) |
| GetService(Type) |
サービス プロバイダーから要求されたサービスを取得します。 |
| GetType() |
現在のインスタンスの Type を取得します。 (継承元 Object) |
| MemberwiseClone() |
現在の Objectの簡易コピーを作成します。 (継承元 Object) |
| ShowCode() |
ユーザー コードを表示します。 |
| ShowCode(IComponent, EventDescriptor, String) |
指定したメソッドのユーザー コードを表示します。 |
| ShowCode(Int32) |
指定された行番号にユーザー コードを表示します。 |
| ToString() |
現在のオブジェクトを表す文字列を返します。 (継承元 Object) |
| UseMethod(IComponent, EventDescriptor, String) |
イベント ハンドラーによって特定のメソッドが使用されていることを示す通知を提供します。 |
| ValidateMethodName(String) |
指定されたメソッド名が、使用されている言語またはスクリプトに対して有効であることを検証します。 |
明示的なインターフェイスの実装
| 名前 | 説明 |
|---|---|
| IEventBindingService.CreateUniqueMethodName(IComponent, EventDescriptor) |
指定したコンポーネントとイベントのイベント ハンドラー メソッドの一意の名前を作成します。 |
| IEventBindingService.GetCompatibleMethods(EventDescriptor) |
指定したイベントと互換性のあるメソッド シグネチャを持つイベント ハンドラー メソッドのコレクションを取得します。 |
| IEventBindingService.GetEvent(PropertyDescriptor) |
指定したプロパティ記述子がイベントを表す場合に表すイベントの EventDescriptor を取得します。 |
| IEventBindingService.GetEventProperties(EventDescriptorCollection) |
イベント記述子のセットをプロパティ記述子のセットに変換します。 |
| IEventBindingService.GetEventProperty(EventDescriptor) |
1 つのイベント記述子をプロパティ記述子に変換します。 |
| IEventBindingService.ShowCode() |
デザイナーのユーザー コードを表示します。 |
| IEventBindingService.ShowCode(IComponent, EventDescriptor) |
指定したイベントのユーザー コードを表示します。 |
| IEventBindingService.ShowCode(Int32) |
デザイナーのユーザー コードを指定した行に表示します。 |