Поделиться через


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

Возвращаемое значение

Применяется к