Share via


WeakCollection<T>.Add Method

Microsoft internal use only. Adds a WeakReference to the item to the collection.

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

Syntax

'Declaration
Public Sub Add ( _
    item As T _
)
public void Add(
    T item
)
public:
void Add(
    T item
)
member Add : 
        item:'T -> unit
public function Add(
    item : T
)

Parameters

  • item
    Type: T

    The item to add to the collection.

.NET Framework Security

See Also

Reference

WeakCollection<T> Class

Microsoft.VisualStudio.PlatformUI Namespace