SourceText.GetSubText 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.
Overloads
GetSubText(TextSpan) |
Gets a SourceText that contains the characters in the specified span of this text. |
GetSubText(Int32) |
Returns a SourceText that has the contents of this text including and after the start position. |
GetSubText(TextSpan)
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
Gets a SourceText that contains the characters in the specified span of this text.
public:
virtual Microsoft::CodeAnalysis::Text::SourceText ^ GetSubText(Microsoft::CodeAnalysis::Text::TextSpan span);
public virtual Microsoft.CodeAnalysis.Text.SourceText GetSubText (Microsoft.CodeAnalysis.Text.TextSpan span);
abstract member GetSubText : Microsoft.CodeAnalysis.Text.TextSpan -> Microsoft.CodeAnalysis.Text.SourceText
override this.GetSubText : Microsoft.CodeAnalysis.Text.TextSpan -> Microsoft.CodeAnalysis.Text.SourceText
Public Overridable Function GetSubText (span As TextSpan) As SourceText
Parameters
- span
- TextSpan
Returns
Applies to
GetSubText(Int32)
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
- Source:
- SourceText.cs
Returns a SourceText that has the contents of this text including and after the start position.
public:
Microsoft::CodeAnalysis::Text::SourceText ^ GetSubText(int start);
public Microsoft.CodeAnalysis.Text.SourceText GetSubText (int start);
member this.GetSubText : int -> Microsoft.CodeAnalysis.Text.SourceText
Public Function GetSubText (start As Integer) As SourceText
Parameters
- start
- Int32
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.