Condividi tramite


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

ICollection<T>.Contains(T)

.NET Framework Security

See Also

Reference

WeakCollection<T> Class

WeakCollection<T> Members

Microsoft.VisualStudio.PlatformUI Namespace