Click or drag to resize

TextSpanIntersectsWith Method (Int32)

Determines whether position intersects this span. A position is considered to intersect if it is between the start and end positions (inclusive) of this span.

Namespace:  Microsoft.CodeAnalysis.Text
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
public bool IntersectsWith(
	int position


Type: SystemInt32
The position to check.

Return Value

Type: Boolean
true if the position intersects, otherwise false.
See Also