DataConnectionProperties.ICollection<KeyValuePair<String, Object>>.ICollection 方法
從目前移除指定的屬性設定連接屬性。
命名空間: Microsoft.VisualStudio.Data.Framework
組件: Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)
語法
'宣告
Private Function Remove ( _
item As KeyValuePair(Of String, Object) _
) As Boolean Implements ICollection(Of KeyValuePair(Of String, Object)).Remove
bool ICollection<KeyValuePair<string, Object>>.Remove(
KeyValuePair<string, Object> item
)
private:
virtual bool Remove(
KeyValuePair<String^, Object^> item
) sealed = ICollection<KeyValuePair<String^, Object^>>::Remove
private abstract Remove :
item:KeyValuePair<string, Object> -> bool
private override Remove :
item:KeyValuePair<string, Object> -> bool
JScript 不支援明確介面實作。
參數
item
類型:KeyValuePair<String, Object>項目的索引鍵中移除。
傳回值
類型:Boolean
true ,如果已成功移除屬性; false ,如果找不到屬性。
實作
ICollection.Remove(UTP)
備註
這個方法會提供 Remove 方法的實作。 如需詳細資訊,請參閱 Remove 方法至 .NET Framework 類別庫中。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。