共用方式為


Project.AddAdditionalDocument 方法

定義

多載

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

在此專案的新實例中建立新的其他檔。

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

在此專案的新實例中建立新的其他檔。

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

傳回

適用於