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
- 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.