Project.AddDocument Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
AddDocument(String, SyntaxNode, IEnumerable<String>, String) |
Erstellt ein neues Dokument in einer neuen Instanz dieses Projekts. |
AddDocument(String, SourceText, IEnumerable<String>, String) |
Erstellt ein neues Dokument in einer neuen Instanz dieses Projekts. |
AddDocument(String, String, IEnumerable<String>, String) |
Erstellt ein neues Dokument in einer neuen Instanz dieses Projekts. |
AddDocument(String, SyntaxNode, IEnumerable<String>, String)
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
Erstellt ein neues Dokument in einer neuen Instanz dieses Projekts.
public Microsoft.CodeAnalysis.Document AddDocument (string name, Microsoft.CodeAnalysis.SyntaxNode syntaxRoot, System.Collections.Generic.IEnumerable<string> folders = default, string filePath = default);
public Microsoft.CodeAnalysis.Document AddDocument (string name, Microsoft.CodeAnalysis.SyntaxNode syntaxRoot, System.Collections.Generic.IEnumerable<string>? folders = default, string? filePath = default);
member this.AddDocument : string * Microsoft.CodeAnalysis.SyntaxNode * seq<string> * string -> Microsoft.CodeAnalysis.Document
Public Function AddDocument (name As String, syntaxRoot As SyntaxNode, Optional folders As IEnumerable(Of String) = Nothing, Optional filePath As String = Nothing) As Document
Parameter
- name
- String
- syntaxRoot
- SyntaxNode
- folders
- IEnumerable<String>
- filePath
- String
Gibt zurück
Gilt für:
AddDocument(String, SourceText, IEnumerable<String>, String)
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
Erstellt ein neues Dokument in einer neuen Instanz dieses Projekts.
public Microsoft.CodeAnalysis.Document AddDocument (string name, Microsoft.CodeAnalysis.Text.SourceText text, System.Collections.Generic.IEnumerable<string> folders = default, string filePath = default);
public Microsoft.CodeAnalysis.Document AddDocument (string name, Microsoft.CodeAnalysis.Text.SourceText text, System.Collections.Generic.IEnumerable<string>? folders = default, string? filePath = default);
member this.AddDocument : string * Microsoft.CodeAnalysis.Text.SourceText * seq<string> * string -> Microsoft.CodeAnalysis.Document
Public Function AddDocument (name As String, text As SourceText, Optional folders As IEnumerable(Of String) = Nothing, Optional filePath As String = Nothing) As Document
Parameter
- name
- String
- text
- SourceText
- folders
- IEnumerable<String>
- filePath
- String
Gibt zurück
Gilt für:
AddDocument(String, String, IEnumerable<String>, String)
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
Erstellt ein neues Dokument in einer neuen Instanz dieses Projekts.
public Microsoft.CodeAnalysis.Document AddDocument (string name, string text, System.Collections.Generic.IEnumerable<string> folders = default, string filePath = default);
public Microsoft.CodeAnalysis.Document AddDocument (string name, string text, System.Collections.Generic.IEnumerable<string>? folders = default, string? filePath = default);
member this.AddDocument : string * string * seq<string> * string -> Microsoft.CodeAnalysis.Document
Public Function AddDocument (name As String, text As String, Optional folders As IEnumerable(Of String) = Nothing, Optional filePath As String = Nothing) As Document
Parameter
- name
- String
- text
- String
- folders
- IEnumerable<String>
- filePath
- String