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
- 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
- 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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET