Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns the intersection with the given virtual span.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
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
virtualSpan
Type: Microsoft.VisualStudio.Text.VirtualSnapshotSpanThe virtual span to check.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.