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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.