WeakCollection<T>.Contains Method
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Dichiarazione
Public Function Contains ( _
item As T _
) As Boolean
'Utilizzo
Dim instance As WeakCollection
Dim item As T
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
T item
)
public:
virtual bool Contains(
T item
) sealed
abstract Contains :
item:'T -> bool
override Contains :
item:'T -> bool
public final function Contains(
item : T
) : boolean
Parameters
- item
Type: T
Return Value
Type: System.Boolean
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.