IAnnotationDictionary.Remove<T> 方法

從字典中移除具有指定 Type 的物件。

命名空間:  Microsoft.VisualStudio.SharePoint
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
Function Remove(Of T) As Boolean
bool Remove<T>()

型別參數

  • T
    待移除物件的型別。 這是與物件相關聯的索引鍵。

傳回值

型別:System.Boolean
如果成功找到並移除物件則為 true,否則為 false。

.NET Framework 安全性

請參閱

參考

IAnnotationDictionary 介面

Remove 多載

Microsoft.VisualStudio.SharePoint 命名空間