指定した CodeAttributeArgument をコレクションから削除します。
名前空間: System.CodeDom
アセンブリ: System (system.dll 内)
構文
'宣言
Public Sub Remove ( _
value As CodeAttributeArgument _
)
'使用
Dim instance As CodeAttributeArgumentCollection
Dim value As CodeAttributeArgument
instance.Remove(value)
public void Remove (
CodeAttributeArgument value
)
public:
void Remove (
CodeAttributeArgument^ value
)
public void Remove (
CodeAttributeArgument value
)
public function Remove (
value : CodeAttributeArgument
)
パラメータ
- value
コレクションから削除する CodeAttributeArgument。
例外
例外の種類 | 条件 |
---|---|
指定したオブジェクトがコレクション内で見つかりません。 |
使用例
' Removes the specified CodeAttributeArgument from the collection.
Dim argument As New CodeAttributeArgument("Test Boolean Argument", New CodePrimitiveExpression(True))
collection.Remove(argument)
// Removes the specified CodeAttributeArgument from the collection.
CodeAttributeArgument argument = new CodeAttributeArgument("Test Boolean Argument", new CodePrimitiveExpression(true));
collection.Remove( argument );
// Removes the specified CodeAttributeArgument from the collection.
CodeAttributeArgument^ argument = gcnew CodeAttributeArgument( "Test Boolean Argument",gcnew CodePrimitiveExpression( true ) );
collection->Remove( argument );
// Removes the specified CodeAttributeArgument from the collection.
CodeAttributeArgument argument = new CodeAttributeArgument("Test "
+ "Boolean Argument", new
CodePrimitiveExpression(System.Convert.ToString(true)));
collection.Remove(argument);
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 2.0、1.1、1.0
参照
関連項目
CodeAttributeArgumentCollection クラス
CodeAttributeArgumentCollection メンバ
System.CodeDom 名前空間