TextAndVersion.Create(SourceText, VersionStamp, String) 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.
Create a new TextAndVersion instance.
public static Microsoft.CodeAnalysis.TextAndVersion Create (Microsoft.CodeAnalysis.Text.SourceText text, Microsoft.CodeAnalysis.VersionStamp version, string filePath = default);
public static Microsoft.CodeAnalysis.TextAndVersion Create (Microsoft.CodeAnalysis.Text.SourceText text, Microsoft.CodeAnalysis.VersionStamp version, string? filePath = default);
static member Create : Microsoft.CodeAnalysis.Text.SourceText * Microsoft.CodeAnalysis.VersionStamp * string -> Microsoft.CodeAnalysis.TextAndVersion
Public Shared Function Create (text As SourceText, version As VersionStamp, Optional filePath As String = Nothing) As TextAndVersion
Parameters
- text
- SourceText
The text
- version
- VersionStamp
The version
- filePath
- String
Obsolete.
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.