MobileListItemCollection.Insert メソッド

定義

コレクション内の指定した場所に項目を追加します。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。ASP.NET

オーバーロード

名前 説明
Insert(Int32, String)

コレクション内の指定した場所に項目を追加します。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。ASP.NET

Insert(Int32, MobileListItem)

コレクション内の指定した場所に項目を追加します。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。ASP.NET

Insert(Int32, String)

コレクション内の指定した場所に項目を追加します。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。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&」を参照してください。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はコレクションの末尾に追加されます。

こちらもご覧ください

適用対象