共用方式為


FilteredObservableCollection<T>.Contains Method (Object)

Determines whether the collection contains the specified object.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'宣告
Public Function Contains ( _
    value As Object _
) As Boolean
public bool Contains(
    Object value
)
public:
virtual bool Contains(
    Object^ value
) sealed
abstract Contains : 
        value:Object -> bool 
override Contains : 
        value:Object -> bool 
public final function Contains(
    value : Object
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the collection contains the item, otherwise false.

Implements

IList.Contains(Object)

.NET Framework Security

See Also

Reference

FilteredObservableCollection<T> Class

Contains Overload

Microsoft.VisualStudio.Language.Intellisense Namespace