指定した CodeParameterDeclarationExpression をコレクションから削除します。
Public Sub Remove( _
ByVal value As CodeParameterDeclarationExpression _)
[C#]
public void Remove(CodeParameterDeclarationExpressionvalue);
[C++]
public: void Remove(CodeParameterDeclarationExpression* value);
[JScript]
public function Remove(
value : CodeParameterDeclarationExpression);
パラメータ
- value
コレクションから削除する CodeParameterDeclarationExpression 。
例外
例外の種類 | 条件 |
---|---|
ArgumentException | 指定したオブジェクトがコレクション内で見つかりません。 |
使用例
' Removes the specified CodeParameterDeclarationExpression
' from the collection.
Dim parameter As New CodeParameterDeclarationExpression(GetType(Integer), "testIntArgument")
collection.Remove(parameter)
[C#]
// Removes the specified CodeParameterDeclarationExpression
// from the collection.
CodeParameterDeclarationExpression parameter = new CodeParameterDeclarationExpression(typeof(int), "testIntArgument");
collection.Remove( parameter );
[C++]
// Removes the specified CodeParameterDeclarationExpression
// from the collection.
CodeParameterDeclarationExpression* parameter = new CodeParameterDeclarationExpression(__typeof(int), S"testIntArgument");
collection->Remove( parameter );
[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン をクリックします。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
CodeParameterDeclarationExpressionCollection クラス | CodeParameterDeclarationExpressionCollection メンバ | System.CodeDom 名前空間