ToolboxComponentsCreatingEventArgs ToolboxComponentsCreatingEventArgs ToolboxComponentsCreatingEventArgs ToolboxComponentsCreatingEventArgs Class

定義

ツールボックスにコンポーネントが追加されると発生する ComponentsCreating イベントにデータを提供します。Provides data for the ComponentsCreating event that occurs when components are added to the toolbox.

public ref class ToolboxComponentsCreatingEventArgs : EventArgs
public class ToolboxComponentsCreatingEventArgs : EventArgs
type ToolboxComponentsCreatingEventArgs = class
    inherit EventArgs
Public Class ToolboxComponentsCreatingEventArgs
Inherits EventArgs
継承
ToolboxComponentsCreatingEventArgsToolboxComponentsCreatingEventArgsToolboxComponentsCreatingEventArgsToolboxComponentsCreatingEventArgs

次の例のメソッドを返します、ToolboxComponentsCreatingEventArgs新しいコンポーネントまたはコンポーネントのセットが表示されるデザイナーのホストを示します。The following example method returns a ToolboxComponentsCreatingEventArgs that indicates the designer host that is about to receive a new component or set of components:

ToolboxComponentsCreatingEventArgs^ CreateToolboxComponentsCreatingEventArgs( System::ComponentModel::Design::IDesignerHost^ host )
{
   ToolboxComponentsCreatingEventArgs^ e = gcnew ToolboxComponentsCreatingEventArgs( host );
   // The designer host of the document receiving the components        e.DesignerHost
   return e;
}
public ToolboxComponentsCreatingEventArgs CreateToolboxComponentsCreatingEventArgs(System.ComponentModel.Design.IDesignerHost host)
{
    ToolboxComponentsCreatingEventArgs e = new ToolboxComponentsCreatingEventArgs(host);
    // The designer host of the document receiving the components        e.DesignerHost            
    return e;
}
Public Function CreateToolboxComponentsCreatingEventArgs(ByVal host As System.ComponentModel.Design.IDesignerHost) As ToolboxComponentsCreatingEventArgs
    Dim e As New ToolboxComponentsCreatingEventArgs(host)
    ' The designer host of the document receiving the components        e.DesignerHost            
    Return e
End Function

注釈

ComponentsCreatingのコンポーネントがツールボックスに追加するときにイベントが発生します。The ComponentsCreating event is raised when components are about to be added to the toolbox. ToolboxComponentsCreatingEventArgs デザイナーのコンポーネントを追加することが要求されることを示すデータを提供します。ToolboxComponentsCreatingEventArgs provides data indicating the designer that has requested that the components be added.

コンストラクター

ToolboxComponentsCreatingEventArgs(IDesignerHost) ToolboxComponentsCreatingEventArgs(IDesignerHost) ToolboxComponentsCreatingEventArgs(IDesignerHost) ToolboxComponentsCreatingEventArgs(IDesignerHost)

ToolboxComponentsCreatingEventArgs クラスの新しいインスタンスを初期化します。Initializes a new instance of the ToolboxComponentsCreatingEventArgs class.

プロパティ

DesignerHost DesignerHost DesignerHost DesignerHost

ツールボックス コンポーネントの作成を要求した IDesignerHost のインスタンスを取得または設定します。Gets or sets an instance of the IDesignerHost that made the request to create toolbox components.

メソッド

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

指定したオブジェクトが、現在のオブジェクトと等しいかどうかを判断します。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

既定のハッシュ関数として機能します。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

現在のインスタンスの Type を取得します。Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

現在の Object の簡易コピーを作成します。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

現在のオブジェクトを表す文字列を返します。Returns a string that represents the current object.

(Inherited from Object)

適用対象

こちらもご覧ください