TextLineCollection.GetTextSpan(LinePositionSpan) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Convert a LinePositionSpan to TextSpan.
public:
Microsoft::CodeAnalysis::Text::TextSpan GetTextSpan(Microsoft::CodeAnalysis::Text::LinePositionSpan span);
public Microsoft.CodeAnalysis.Text.TextSpan GetTextSpan (Microsoft.CodeAnalysis.Text.LinePositionSpan span);
member this.GetTextSpan : Microsoft.CodeAnalysis.Text.LinePositionSpan -> Microsoft.CodeAnalysis.Text.TextSpan
Public Function GetTextSpan (span As LinePositionSpan) As TextSpan
Parameters
- span
- LinePositionSpan