VirtualSnapshotSpan::Intersection Method (VirtualSnapshotSpan)

 

Returns the intersection with the given virtual span.

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

public:
Nullable<VirtualSnapshotSpan> Intersection(
	VirtualSnapshotSpan virtualSpan
)

Parameters

virtualSpan
Type: Microsoft.VisualStudio.Text::VirtualSnapshotSpan

The virtual span to check.

Return Value

Type: System::Nullable<VirtualSnapshotSpan>

The intersection of the spans, or null if the spans do not intersect.

Return to top
Show: