다음을 통해 공유


DocumentInfo.Create 메서드

정의

정보를 만듭니다.

public static Microsoft.CodeAnalysis.DocumentInfo Create (Microsoft.CodeAnalysis.DocumentId id, string name, System.Collections.Generic.IEnumerable<string> folders = default, Microsoft.CodeAnalysis.SourceCodeKind sourceCodeKind = Microsoft.CodeAnalysis.SourceCodeKind.Regular, Microsoft.CodeAnalysis.TextLoader loader = default, string filePath = default, bool isGenerated = false);
public static Microsoft.CodeAnalysis.DocumentInfo Create (Microsoft.CodeAnalysis.DocumentId id, string name, System.Collections.Generic.IEnumerable<string>? folders = default, Microsoft.CodeAnalysis.SourceCodeKind sourceCodeKind = Microsoft.CodeAnalysis.SourceCodeKind.Regular, Microsoft.CodeAnalysis.TextLoader? loader = default, string? filePath = default, bool isGenerated = false);
static member Create : Microsoft.CodeAnalysis.DocumentId * string * seq<string> * Microsoft.CodeAnalysis.SourceCodeKind * Microsoft.CodeAnalysis.TextLoader * string * bool -> Microsoft.CodeAnalysis.DocumentInfo
Public Shared Function Create (id As DocumentId, name As String, Optional folders As IEnumerable(Of String) = Nothing, Optional sourceCodeKind As SourceCodeKind = Microsoft.CodeAnalysis.SourceCodeKind.Regular, Optional loader As TextLoader = Nothing, Optional filePath As String = Nothing, Optional isGenerated As Boolean = false) As DocumentInfo

매개 변수

name
String
folders
IEnumerable<String>
sourceCodeKind
SourceCodeKind
loader
TextLoader
filePath
String
isGenerated
Boolean

반환

적용 대상