Compartir a través de


NormalizedSpanCollection.Overlap Método

Definición

Busque la superposición de dos conjuntos de intervalos.

public:
 static Microsoft::VisualStudio::Text::NormalizedSpanCollection ^ Overlap(Microsoft::VisualStudio::Text::NormalizedSpanCollection ^ left, Microsoft::VisualStudio::Text::NormalizedSpanCollection ^ right);
public static Microsoft.VisualStudio.Text.NormalizedSpanCollection Overlap (Microsoft.VisualStudio.Text.NormalizedSpanCollection left, Microsoft.VisualStudio.Text.NormalizedSpanCollection right);
static member Overlap : Microsoft.VisualStudio.Text.NormalizedSpanCollection * Microsoft.VisualStudio.Text.NormalizedSpanCollection -> Microsoft.VisualStudio.Text.NormalizedSpanCollection
Public Shared Function Overlap (left As NormalizedSpanCollection, right As NormalizedSpanCollection) As NormalizedSpanCollection

Parámetros

left
NormalizedSpanCollection

Primer conjunto de intervalos.

right
NormalizedSpanCollection

Segundo conjunto de intervalos.

Devoluciones

Nuevo conjunto de intervalos que corresponde a la superposición de left y right.

Excepciones

left o right es null.

Comentarios

Este operador se ejecuta en la hora de O(N+M) donde N = izquierda. Count, M = right. Contar.

Se aplica a