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


AdhocWorkspace.AddDocument Метод

Определение

Перегрузки

AddDocument(DocumentInfo)

Добавляет документ в рабочую область.

AddDocument(ProjectId, String, SourceText)

Добавляет документ в рабочую область.

AddDocument(DocumentInfo)

Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs

Добавляет документ в рабочую область.

public:
 Microsoft::CodeAnalysis::Document ^ AddDocument(Microsoft::CodeAnalysis::DocumentInfo ^ documentInfo);
public Microsoft.CodeAnalysis.Document AddDocument (Microsoft.CodeAnalysis.DocumentInfo documentInfo);
member this.AddDocument : Microsoft.CodeAnalysis.DocumentInfo -> Microsoft.CodeAnalysis.Document
Public Function AddDocument (documentInfo As DocumentInfo) As Document

Параметры

documentInfo
DocumentInfo

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

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

AddDocument(ProjectId, String, SourceText)

Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs
Source:
AdhocWorkspace.cs

Добавляет документ в рабочую область.

public:
 Microsoft::CodeAnalysis::Document ^ AddDocument(Microsoft::CodeAnalysis::ProjectId ^ projectId, System::String ^ name, Microsoft::CodeAnalysis::Text::SourceText ^ text);
public Microsoft.CodeAnalysis.Document AddDocument (Microsoft.CodeAnalysis.ProjectId projectId, string name, Microsoft.CodeAnalysis.Text.SourceText text);
member this.AddDocument : Microsoft.CodeAnalysis.ProjectId * string * Microsoft.CodeAnalysis.Text.SourceText -> Microsoft.CodeAnalysis.Document
Public Function AddDocument (projectId As ProjectId, name As String, text As SourceText) As Document

Параметры

projectId
ProjectId
name
String
text
SourceText

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

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