Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft internal use only. Removes an item from the underlying collection, if it exists.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Function Remove ( _
item As T _
) As Boolean
public bool Remove(
T item
)
public:
bool Remove(
T item
)
member Remove :
item:'T -> bool
public function Remove(
item : T
) : boolean
Parameters
item
Type: TThe item to remove.
Return Value
Type: Boolean
Returns true if the item was found and removed; otherwise returns false.
Remarks
This is 0(n), where n is the number of WeakReferences currently in the list.
.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.