Language

Control.ControlCollection.IList.Add(Object) メソッド

定義

このメンバーの説明については、 Add(Object)を参照してください。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

 virtual int System.Collections.IList.Add(System::Object ^ control) = System::Collections::IList::Add;
int IList.Add(object control);
int IList.Add(object? control);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (control As Object) As Integer Implements IList.Add

パラメーター

control
Object

このコレクションに追加するオブジェクト。

返品

新しい要素が挿入された位置。項目がコレクションに挿入されなかったことを示す -1。

実装

注釈

このメンバーは、明示的なインターフェイス メンバーの実装です。 Control.ControlCollection インスタンスがIList インターフェイスにキャストされている場合にのみ使用できます。

適用対象