NormalizedSnapshotSpanCollection.Contains Method (SnapshotSpan)
Determines whether the collection contains the specified snapshot span.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Déclaration
Public Function Contains ( _
item As SnapshotSpan _
) As Boolean
public bool Contains(
SnapshotSpan item
)
public:
virtual bool Contains(
SnapshotSpan item
) sealed
abstract Contains :
item:SnapshotSpan -> bool
override Contains :
item:SnapshotSpan -> bool
public final function Contains(
item : SnapshotSpan
) : boolean
Parameters
- item
Type: Microsoft.VisualStudio.Text.SnapshotSpan
The snapshot span.
Return Value
Type: System.Boolean
true if the collection contains the snapshot span, otherwise false.
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.