Поделиться через


VirtualSnapshotSpan.Intersection Method

Returns the intersection with the given virtual span.

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

Syntax

'Декларация
Public Function Intersection ( _
    virtualSpan As VirtualSnapshotSpan _
) As Nullable(Of VirtualSnapshotSpan)
public Nullable<VirtualSnapshotSpan> Intersection(
    VirtualSnapshotSpan virtualSpan
)
public:
Nullable<VirtualSnapshotSpan> Intersection(
    VirtualSnapshotSpan virtualSpan
)
member Intersection : 
        virtualSpan:VirtualSnapshotSpan -> Nullable<VirtualSnapshotSpan> 
public function Intersection(
    virtualSpan : VirtualSnapshotSpan
) : Nullable<VirtualSnapshotSpan>

Parameters

Return Value

Type: System.Nullable<VirtualSnapshotSpan>
The intersection of the spans, or nulla null reference (Nothing in Visual Basic) if the spans do not intersect.

.NET Framework Security

See Also

Reference

VirtualSnapshotSpan Structure

Microsoft.VisualStudio.Text Namespace