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

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

CodeDirectiveCollection.Remove メソッド

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

指定した CodeDirective オブジェクトコレクションから削除します

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

Public Sub Remove ( _
    value As CodeDirective _
)
Dim instance As CodeDirectiveCollection
Dim value As CodeDirective

instance.Remove(value)
public void Remove (
    CodeDirective value
)
public:
void Remove (
    CodeDirective^ value
)
public void Remove (
    CodeDirective value
)
public function Remove (
    value : CodeDirective
)

パラメータ

value

コレクションから削除する CodeDirective オブジェクト

例外例外
例外種類条件

ArgumentException

指定したオブジェクトコレクション内で見つかりません。

使用例使用例

Remove メソッド使用してコレクションから指定した CodeDirectiveCollection オブジェクト削除する方法次のコード例示します。このコード例は、CodeDirectiveCollection クラストピック取り上げているコード例一部分です。

' Removes the specified CodeDirective from the collection.
Dim directive = New CodeRegionDirective(CodeRegionMode.Start,
 "Region1")
collection.Remove(directive)
// Removes the specified CodeDirective from the collection.
CodeDirective directive = new CodeRegionDirective(CodeRegionMode.Start,
 "Region1");
collection.Remove(directive);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
CodeDirectiveCollection クラス
CodeDirectiveCollection メンバ
System.CodeDom 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

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

   

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



CodeDirectiveCollection.Remove メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS