ReadOnlyObservableSet<T>.RemoveItem Method
Removes the specified element from a ReadOnlyObservableSet<T> object.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Protected Function RemoveItem ( _
item As T _
) As Boolean
protected bool RemoveItem(
T item
)
Parameters
- item
Type: T
The element to remove from the set.
Return Value
Type: System.Boolean
true if the element is successfully found and removed, otherwise false. This method returns false if item is not found in the ReadOnlyObservableSet(T) object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.