Freigeben über


SnapshotSpan.Contains-Methode (SnapshotPoint)

Bestimmt, ob das angegebene SnapshotPoint innerhalb der Spanne liegt.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
Public Function Contains ( _
    point As SnapshotPoint _
) As Boolean
public bool Contains(
    SnapshotPoint point
)
public:
bool Contains(
    SnapshotPoint point
)
member Contains : 
        point:SnapshotPoint -> bool
public function Contains(
    point : SnapshotPoint
) : boolean

Parameter

Rückgabewert

Typ: Boolean
true , wenn die Position größer oder gleich span.Start-Parameter und kleiner als Parameter span.Endist, andernfalls false.

.NET Framework-Sicherheit

Siehe auch

Referenz

SnapshotSpan Struktur

Contains-Überladung

Microsoft.VisualStudio.Text-Namespace