共用方式為


ReadOnlyObservableSet<T>.Contains Method (T)

Determines whether an element is in the ReadOnlyObservableSet<T>.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Function Contains ( _
    item As T _
) As Boolean
public bool Contains(
    T item
)

Parameters

  • item
    Type: T
    The object to locate in the ReadOnlyObservableSet(T).

Return Value

Type: System.Boolean
true if item is found in the ReadOnlyObservableSet(T), otherwise false.

Implements

IReadOnlyObservableSet<T>.Contains(T)

.NET Framework Security

See Also

Reference

ReadOnlyObservableSet<T> Class

Contains Overload

Microsoft.VisualStudio.Shell Namespace