CodeStatementCollection.Remove(CodeStatement) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した CodeStatement オブジェクトをコレクションから削除します。
public:
void Remove(System::CodeDom::CodeStatement ^ value);
public void Remove (System.CodeDom.CodeStatement value);
member this.Remove : System.CodeDom.CodeStatement -> unit
Public Sub Remove (value As CodeStatement)
パラメーター
- value
- CodeStatement
コレクションから削除する CodeStatement。
例外
指定したオブジェクトがコレクション内で見つかりません。
例
次の例では、 メソッドを使用 Remove して からオブジェクトを CodeStatement 削除する方法を CodeStatementCollection示します。
// Removes the specified CodeStatement from the collection.
collection->Remove( testStatement );
// Removes the specified CodeStatement from the collection.
collection.Remove( testStatement );
' Removes the specified CodeStatement from the collection.
collection.Remove(testStatement)