Project.AddAdditionalDocument 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
AddAdditionalDocument(String, SourceText, IEnumerable<String>, String) |
Creates a new additional document in a new instance of this project. |
AddAdditionalDocument(String, String, IEnumerable<String>, String) |
Creates a new additional document in a new instance of this project. |
AddAdditionalDocument(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 additional document in a new instance of this project.
public Microsoft.CodeAnalysis.TextDocument AddAdditionalDocument (string name, Microsoft.CodeAnalysis.Text.SourceText text, System.Collections.Generic.IEnumerable<string> folders = default, string filePath = default);
public Microsoft.CodeAnalysis.TextDocument AddAdditionalDocument (string name, Microsoft.CodeAnalysis.Text.SourceText text, System.Collections.Generic.IEnumerable<string>? folders = default, string? filePath = default);
member this.AddAdditionalDocument : string * Microsoft.CodeAnalysis.Text.SourceText * seq<string> * string -> Microsoft.CodeAnalysis.TextDocument
Public Function AddAdditionalDocument (name As String, text As SourceText, Optional folders As IEnumerable(Of String) = Nothing, Optional filePath As String = Nothing) As TextDocument
Parameters
- name
- String
- text
- SourceText
- folders
- IEnumerable<String>
- filePath
- String
Returns
Applies to
AddAdditionalDocument(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 additional document in a new instance of this project.
public Microsoft.CodeAnalysis.TextDocument AddAdditionalDocument (string name, string text, System.Collections.Generic.IEnumerable<string> folders = default, string filePath = default);
public Microsoft.CodeAnalysis.TextDocument AddAdditionalDocument (string name, string text, System.Collections.Generic.IEnumerable<string>? folders = default, string? filePath = default);
member this.AddAdditionalDocument : string * string * seq<string> * string -> Microsoft.CodeAnalysis.TextDocument
Public Function AddAdditionalDocument (name As String, text As String, Optional folders As IEnumerable(Of String) = Nothing, Optional filePath As String = Nothing) As TextDocument
Parameters
- name
- String
- text
- String
- folders
- IEnumerable<String>
- filePath
- String
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.