Compartir a través de


TextLineCollection.GetTextSpan(LinePositionSpan) Method

Definition

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

Returns

Applies to