次の方法で共有


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

戻り値

適用対象