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

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

戻り値

Int32

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

実装

注釈

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

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

適用対象

こちらもご覧ください