从当前指定属性移除设置附加属性。
命名空间: 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 方法的实现。 有关更多信息,请在 .NET Framework 类库中参见 Remove 方法。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。