다음을 통해 공유


TextAndVersion.Create(SourceText, VersionStamp, String) 메서드

정의

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

사용되지 않습니다.

반환

적용 대상