Project.AddDocument 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.
Overloads
AddDocument(String, SyntaxNode, IEnumerable<String>, String) |
Creates a new document in a new instance of this project. |
AddDocument(String, SourceText, IEnumerable<String>, String) |
Creates a new document in a new instance of this project. |
AddDocument(String, String, IEnumerable<String>, String) |
Creates a new document in a new instance of this project. |
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
- Source:
- Project.cs
Creates a new document in a new instance of this project.
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
Parameters
- name
- String
- syntaxRoot
- SyntaxNode
- folders
- IEnumerable<String>
- filePath
- String
Returns
Applies to
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
- Source:
- Project.cs
Creates a new document in a new instance of this project.
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
Parameters
- name
- String
- text
- SourceText
- folders
- IEnumerable<String>
- filePath
- String
Returns
Applies to
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
- Source:
- Project.cs
Creates a new document in a new instance of this project.
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
Parameters
- name
- String
- text
- String
- folders
- IEnumerable<String>
- filePath
- String
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.