Condividi tramite


WeakCollection<T>.Remove Method

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Dichiarazione
Public Function Remove ( _
    item As T _
) As Boolean
'Utilizzo
Dim instance As WeakCollection
Dim item As T
Dim returnValue As Boolean

returnValue = instance.Remove(item)
public bool Remove(
    T item
)
public:
virtual bool Remove(
    T item
) sealed
abstract Remove : 
        item:'T -> bool 
override Remove : 
        item:'T -> bool 
public final function Remove(
    item : T
) : boolean

Parameters

  • item
    Type: T

Return Value

Type: System.Boolean

Implements

ICollection<T>.Remove(T)

.NET Framework Security

See Also

Reference

WeakCollection<T> Class

WeakCollection<T> Members

Microsoft.VisualStudio.PlatformUI Namespace