VirtualSnapshotSpan.Contains Method (VirtualSnapshotSpan)
Determines whether the specified virtual span falls completely within this virtual span.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Public Function Contains ( _
virtualSpan As VirtualSnapshotSpan _
) As Boolean
public bool Contains(
VirtualSnapshotSpan virtualSpan
)
public:
bool Contains(
VirtualSnapshotSpan virtualSpan
)
member Contains :
virtualSpan:VirtualSnapshotSpan -> bool
public function Contains(
virtualSpan : VirtualSnapshotSpan
) : boolean
Parameters
- virtualSpan
Type: Microsoft.VisualStudio.Text.VirtualSnapshotSpan
The virtual span.
Return Value
Type: System.Boolean
true if the specified span falls completely within this span, otherwise false.
.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.