共用方式為


IReadOnlyObservableSet.Contains Method

Determines whether the IReadOnlyObservableSet contains a specific value.

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

Syntax

'宣告
Function Contains ( _
    item As Object _
) As Boolean
bool Contains(
    Object item
)

Parameters

  • item
    Type: System.Object
    The object to locate in the IReadOnlyObservableSet.

Return Value

Type: System.Boolean
true if the object is found in the IReadOnlyObservableSet, otherwise false.

.NET Framework Security

See Also

Reference

IReadOnlyObservableSet Interface

Microsoft.VisualStudio.Shell Namespace