SiteMapNodeCollection.RemoveAt メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SiteMapNodeCollection.RemoveAt メソッドの意味・解説 

SiteMapNodeCollection.RemoveAt メソッド

メモ : このメソッドは、.NET Framework version 2.0 で新しく追加されたものです。

指定したインデックス位置にある SiteMapNode オブジェクトをコレクションから削除します。

名前空間: System.Web
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public Overridable Sub RemoveAt
 ( _
    index As Integer _
)
Dim instance As SiteMapNodeCollection
Dim index As Integer

instance.RemoveAt(index)
public virtual void RemoveAt (
    int index
)
public:
virtual void RemoveAt (
    int index
)
public void RemoveAt (
    int index
)

パラメータ

index

削除する要素の、0 から始まるインデックス番号。

例外例外
例外の種類条件

ArgumentOutOfRangeException

index が 0 未満です。

または

index が Count より大きい値です。

NotSupportedException

SiteMapNodeCollection は読み取り専用です。

または

SiteMapNodeCollection が固定サイズです。

解説解説

IsReadOnly プロパティをチェックすることにより、SiteMapNodeCollection コレクションが読み取り専用であるかどうかをテストできます。

削除する SiteMapNode オブジェクトを指定して、要素を SiteMapNodeCollection から削除するには、Remove メソッドを使用します。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SiteMapNodeCollection クラス
SiteMapNodeCollection メンバ
System.Web 名前空間
Remove
IsReadOnly
RemoveAt



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

SiteMapNodeCollection.RemoveAt メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SiteMapNodeCollection.RemoveAt メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS