NormalizedSnapshotSpanCollection.IntersectsWith-Methode (NormalizedSnapshotSpanCollection)
Bestimmt, ob sich diese Auflistung mit einer anderen normalisierten Auflistung von Momentaufnahmespannen überschneidet.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Public Function IntersectsWith ( _
set As NormalizedSnapshotSpanCollection _
) As Boolean
public bool IntersectsWith(
NormalizedSnapshotSpanCollection set
)
public:
bool IntersectsWith(
NormalizedSnapshotSpanCollection^ set
)
member IntersectsWith :
set:NormalizedSnapshotSpanCollection -> bool
public function IntersectsWith(
set : NormalizedSnapshotSpanCollection
) : boolean
Parameter
set
Typ: Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollectionDie Auflistung.
Rückgabewert
Typ: Boolean
true , wenn sich die Auflistungen überschneiden, andernfalls false.
Ausnahmen
Ausnahme | Bedingung |
---|---|
ArgumentNullException | set ist nullein Nullverweis (Nothing in Visual Basic). |
ArgumentException | Die Auflistungen verweisen unterschiedliche Momentaufnahmen an. |
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.