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