次の方法で共有


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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣言
Public Sub Add ( _
    item As T _
)
public void Add(
    T item
)

Parameters

  • item
    Type: T
    The item to add to the collection.

.NET Framework Security

See Also

Reference

WeakCollection<T> Class

Microsoft.VisualStudio.PlatformUI Namespace