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


Solution.AddAdditionalDocument Метод

Определение

Перегрузки

AddAdditionalDocument(DocumentInfo)
AddAdditionalDocument(DocumentId, String, SourceText, IEnumerable<String>, String)

Создает новый экземпляр решения с соответствующим проектом, обновленным для включения нового дополнительного экземпляра документа, определенного его именем и текстом.

AddAdditionalDocument(DocumentId, String, String, IEnumerable<String>, String)

Создает новый экземпляр решения с соответствующим проектом, обновленным для включения нового дополнительного экземпляра документа, определенного его именем и текстом.

AddAdditionalDocument(DocumentInfo)

Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
public:
 Microsoft::CodeAnalysis::Solution ^ AddAdditionalDocument(Microsoft::CodeAnalysis::DocumentInfo ^ documentInfo);
public Microsoft.CodeAnalysis.Solution AddAdditionalDocument (Microsoft.CodeAnalysis.DocumentInfo documentInfo);
member this.AddAdditionalDocument : Microsoft.CodeAnalysis.DocumentInfo -> Microsoft.CodeAnalysis.Solution
Public Function AddAdditionalDocument (documentInfo As DocumentInfo) As Solution

Параметры

documentInfo
DocumentInfo

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

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

AddAdditionalDocument(DocumentId, String, SourceText, IEnumerable<String>, String)

Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs

Создает новый экземпляр решения с соответствующим проектом, обновленным для включения нового дополнительного экземпляра документа, определенного его именем и текстом.

public Microsoft.CodeAnalysis.Solution AddAdditionalDocument (Microsoft.CodeAnalysis.DocumentId documentId, string name, Microsoft.CodeAnalysis.Text.SourceText text, System.Collections.Generic.IEnumerable<string> folders = default, string filePath = default);
public Microsoft.CodeAnalysis.Solution AddAdditionalDocument (Microsoft.CodeAnalysis.DocumentId documentId, string name, Microsoft.CodeAnalysis.Text.SourceText text, System.Collections.Generic.IEnumerable<string>? folders = default, string? filePath = default);
member this.AddAdditionalDocument : Microsoft.CodeAnalysis.DocumentId * string * Microsoft.CodeAnalysis.Text.SourceText * seq<string> * string -> Microsoft.CodeAnalysis.Solution
Public Function AddAdditionalDocument (documentId As DocumentId, name As String, text As SourceText, Optional folders As IEnumerable(Of String) = Nothing, Optional filePath As String = Nothing) As Solution

Параметры

documentId
DocumentId
name
String
text
SourceText
folders
IEnumerable<String>
filePath
String

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

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

AddAdditionalDocument(DocumentId, String, String, IEnumerable<String>, String)

Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs

Создает новый экземпляр решения с соответствующим проектом, обновленным для включения нового дополнительного экземпляра документа, определенного его именем и текстом.

public Microsoft.CodeAnalysis.Solution AddAdditionalDocument (Microsoft.CodeAnalysis.DocumentId documentId, string name, string text, System.Collections.Generic.IEnumerable<string> folders = default, string filePath = default);
public Microsoft.CodeAnalysis.Solution AddAdditionalDocument (Microsoft.CodeAnalysis.DocumentId documentId, string name, string text, System.Collections.Generic.IEnumerable<string>? folders = default, string? filePath = default);
member this.AddAdditionalDocument : Microsoft.CodeAnalysis.DocumentId * string * string * seq<string> * string -> Microsoft.CodeAnalysis.Solution
Public Function AddAdditionalDocument (documentId As DocumentId, name As String, text As String, Optional folders As IEnumerable(Of String) = Nothing, Optional filePath As String = Nothing) As Solution

Параметры

documentId
DocumentId
name
String
text
String
folders
IEnumerable<String>
filePath
String

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

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