TextAndVersion.Create(SourceText, VersionStamp, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立新的 TextAndVersion 實例。
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
參數
- text
- SourceText
文字
- version
- VersionStamp
版本
- filePath
- String
已過時。