ToolboxComponentsCreatedEventArgs ToolboxComponentsCreatedEventArgs ToolboxComponentsCreatedEventArgs ToolboxComponentsCreatedEventArgs Class

定義

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

public ref class ToolboxComponentsCreatedEventArgs : EventArgs
public class ToolboxComponentsCreatedEventArgs : EventArgs
type ToolboxComponentsCreatedEventArgs = class
    inherit EventArgs
Public Class ToolboxComponentsCreatedEventArgs
Inherits EventArgs
継承
ToolboxComponentsCreatedEventArgsToolboxComponentsCreatedEventArgsToolboxComponentsCreatedEventArgsToolboxComponentsCreatedEventArgs

次の例のメソッドを返します、ToolboxComponentsCreatedEventArgs作成されたコンポーネントを示します。The following example method returns a ToolboxComponentsCreatedEventArgs that indicates the components that have been created:

ToolboxComponentsCreatedEventArgs^ CreateToolboxComponentsCreatedEventArgs( array<System::ComponentModel::IComponent^>^components )
{
   ToolboxComponentsCreatedEventArgs^ e = gcnew ToolboxComponentsCreatedEventArgs( components );
   // The components that were just created        e.Components
   return e;
}
public ToolboxComponentsCreatedEventArgs CreateToolboxComponentsCreatedEventArgs(System.ComponentModel.IComponent[] components)
{
    ToolboxComponentsCreatedEventArgs e = new ToolboxComponentsCreatedEventArgs(components);
    // The components that were just created        e.Components            
    return e;
}
Public Function CreateToolboxComponentsCreatedEventArgs(ByVal components() As System.ComponentModel.IComponent) As ToolboxComponentsCreatedEventArgs
    Dim e As New ToolboxComponentsCreatedEventArgs(components)
    ' The components that were just created        e.Components            
    Return e
End Function

注釈

ComponentsCreatedコンポーネントがツールボックスに追加されたときにイベントが発生します。The ComponentsCreated event is raised when components are added to the toolbox. ToolboxComponentsCreatedEventArgs 対象のコンポーネントまたはコンポーネントが追加されることを示すデータを提供します。ToolboxComponentsCreatedEventArgs provides data indicating which component or components are being added.

コンストラクター

ToolboxComponentsCreatedEventArgs(IComponent[]) ToolboxComponentsCreatedEventArgs(IComponent[]) ToolboxComponentsCreatedEventArgs(IComponent[]) ToolboxComponentsCreatedEventArgs(IComponent[])

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

プロパティ

Components Components Components Components

ツールボックスに追加するコンポーネントを格納している配列を取得または設定します。Gets or sets an array containing the components to add to the toolbox.

メソッド

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)

適用対象

こちらもご覧ください