SnapshotSpan.Contains Method (Span)
Determines whether the specified span falls completely within this span.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'宣言
Public Function Contains ( _
simpleSpan As Span _
) As Boolean
public bool Contains(
Span simpleSpan
)
public:
bool Contains(
Span simpleSpan
)
member Contains :
simpleSpan:Span -> bool
public function Contains(
simpleSpan : Span
) : boolean
Parameters
- simpleSpan
Type: Microsoft.VisualStudio.Text.Span
The Span to check.
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.