Project.AddAdditionalDocument 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddAdditionalDocument(String, SourceText, IEnumerable<String>, String) |
在此项目的新实例中创建新的其他文档。 |
AddAdditionalDocument(String, String, IEnumerable<String>, String) |
在此项目的新实例中创建新的其他文档。 |
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
在此项目的新实例中创建新的其他文档。
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
参数
- name
- String
- text
- SourceText
- folders
- IEnumerable<String>
- filePath
- String
返回
适用于
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
在此项目的新实例中创建新的其他文档。
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
参数
- name
- String
- text
- String
- folders
- IEnumerable<String>
- filePath
- String