共用方式為


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

See Also

Reference

ReadOnlyObservableSet<T> Class

Microsoft.VisualStudio.Shell Namespace