Partager via


NormalizedSnapshotSpanCollection.IntersectsWith, méthode (NormalizedSnapshotSpanCollection)

Détermine si cette collection croise une autre collection d'étendues d'instantanés normalisée.

Espace de noms :  Microsoft.VisualStudio.Text
Assembly :  Microsoft.VisualStudio.Text.Data (dans Microsoft.VisualStudio.Text.Data.dll)

Syntaxe

'Déclaration
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

Paramètres

Valeur de retour

Type : Boolean
true si les collections se croisent ; sinon, false.

Exceptions

Exception Condition
ArgumentNullException

set a la valeur nullune référence null (Nothing en Visual Basic).

ArgumentException

Les collections font référence à des instantanés.

Sécurité .NET Framework

Voir aussi

Référence

NormalizedSnapshotSpanCollection Classe

IntersectsWith, surcharge

Microsoft.VisualStudio.Text, espace de noms