Condividi tramite


WeakCollection<T>.Add Method

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

Syntax

'Dichiarazione
Public Sub Add ( _
    item As T _
)
'Utilizzo
Dim instance As WeakCollection
Dim item As T

instance.Add(item)
public void Add(
    T item
)
public:
virtual void Add(
    T item
) sealed
abstract Add : 
        item:'T -> unit 
override Add : 
        item:'T -> unit 
public final function Add(
    item : T
)

Parameters

  • item
    Type: T

Implements

ICollection<T>.Add(T)

.NET Framework Security

See Also

Reference

WeakCollection<T> Class

WeakCollection<T> Members

Microsoft.VisualStudio.PlatformUI Namespace