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