TableCellCollection.IList.Add(Object) メソッド

定義

コレクションにオブジェクトを追加します。

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

パラメーター

o
Object

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

返品

オブジェクトがコレクションに追加されたインデックス。

実装

注釈

通常、 TableCellCollection.Add メソッドを使用して、 TableCellCollection オブジェクトに要素を追加する必要があります。

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

適用対象

こちらもご覧ください