Partager via


TextAndVersion.Create(SourceText, VersionStamp, String) Méthode

Définition

Créez une instance 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

Paramètres

text
SourceText

Texte

version
VersionStamp

la version ;

filePath
String

Obsolète.

Retours

S’applique à