指定したオブジェクトが LoadTestContext 内にあるときに、最初に出現したものを削除します。
名前空間: Microsoft.VisualStudio.TestTools.LoadTesting
アセンブリ: Microsoft.VisualStudio.QualityTools.LoadTestFramework (Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll 内)
構文
'宣言
Public Function Remove ( _
item As KeyValuePair(Of String, Object) _
) As Boolean
public bool Remove(
KeyValuePair<string, Object> item
)
public:
virtual bool Remove(
KeyValuePair<String^, Object^> item
) sealed
abstract Remove :
item:KeyValuePair<string, Object> -> bool
override Remove :
item:KeyValuePair<string, Object> -> bool
public final function Remove(
item : KeyValuePair<String, Object>
) : boolean
パラメーター
- item
型: System.Collections.Generic.KeyValuePair<String, Object>
LoadTestContext から削除するオブジェクト。
戻り値
型: System.Boolean
LoadTestContext から項目が正常に削除された場合は true。それ以外の場合は false。このメソッドは、元の LoadTestContext で項目が見つからなかった場合にも false を返します。
実装
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。