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
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.