DocumentInfo.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates info.
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
Parameters
- id
- DocumentId
- name
- String
- folders
- IEnumerable<String>
- sourceCodeKind
- SourceCodeKind
- loader
- TextLoader
- filePath
- String
- isGenerated
- Boolean
Returns
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.