LoadTestUserContext.Remove 方法 (String)
返回值,這個值表示是否必須從LoadTestUserContext物件移動第一次出現的特定物件。
命名空間: Microsoft.VisualStudio.TestTools.LoadTesting
組件: Microsoft.VisualStudio.QualityTools.LoadTestFramework (在 Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll 中)
語法
'宣告
Public Function Remove ( _
key As String _
) As Boolean
public bool Remove(
string key
)
public:
virtual bool Remove(
String^ key
) sealed
abstract Remove :
key:string -> bool
override Remove :
key:string -> bool
public final function Remove(
key : String
) : boolean
參數
- key
型別:System.String
唯一識別項,用來當做要移除之項目的索引鍵。
傳回值
型別:System.Boolean
如果必須移除指定之物件的第一個符合項則為 true,否則為 false。
實作
IDictionary<TKey, TValue>.Remove(TKey)
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。