Share via


MobileListItemCollection.Insert メソッド

定義

コレクション内の指定位置に項目を追加します。 この API は、互換性のために残されています。 ASP.NET モバイル アプリケーションを開発する方法については、「mobile Apps & Sites with ASP.NET」を参照してください。

オーバーロード

Insert(Int32, String)

コレクション内の指定位置に項目を追加します。 この API は、互換性のために残されています。 ASP.NET モバイル アプリケーションを開発する方法については、「mobile Apps & Sites with ASP.NET」を参照してください。

Insert(Int32, MobileListItem)

コレクション内の指定位置に項目を追加します。 この API は、互換性のために残されています。 ASP.NET モバイル アプリケーションを開発する方法については、「mobile Apps & Sites with ASP.NET」を参照してください。

Insert(Int32, String)

コレクション内の指定位置に項目を追加します。 この API は、互換性のために残されています。 ASP.NET モバイル アプリケーションを開発する方法については、「mobile Apps & Sites with ASP.NET」を参照してください。

public:
 virtual void Insert(int index, System::String ^ item);
public virtual void Insert (int index, string item);
abstract member Insert : int * string -> unit
override this.Insert : int * string -> unit
Public Overridable Sub Insert (index As Integer, item As String)

パラメーター

index
Int32

インデックス。

item
String

リストに挿入される項目。

注釈

値は index 0 からコレクションのサイズの間である必要があります。 がコレクションのサイズである場合 index は、 item がコレクションの末尾に追加されます。 このオーバーロードは、最初に指定された文字列を持つ新しい MobileListItem オブジェクトを作成し、この項目を挿入します。

こちらもご覧ください

適用対象

Insert(Int32, MobileListItem)

コレクション内の指定位置に項目を追加します。 この API は、互換性のために残されています。 ASP.NET モバイル アプリケーションを開発する方法については、「mobile Apps & Sites with ASP.NET」を参照してください。

public:
 void Insert(int index, System::Web::UI::MobileControls::MobileListItem ^ item);
public void Insert (int index, System.Web.UI.MobileControls.MobileListItem item);
member this.Insert : int * System.Web.UI.MobileControls.MobileListItem -> unit
Public Sub Insert (index As Integer, item As MobileListItem)

パラメーター

index
Int32

インデックス。

item
MobileListItem

リストに挿入される項目。

注釈

値は index 0 からコレクションのサイズの間である必要があります。 がコレクションのサイズである場合 index は、 item がコレクションの末尾に追加されます。

こちらもご覧ください

適用対象