Compartilhar via


AdhocWorkspace.AddDocument Método

Definição

Sobrecargas

AddDocument(DocumentInfo)

Adiciona um documento ao workspace.

AddDocument(ProjectId, String, SourceText)

Adiciona um documento ao workspace.

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

Adiciona um documento ao workspace.

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

Parâmetros

documentInfo
DocumentInfo

Retornos

Aplica-se a

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

Adiciona um documento ao workspace.

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

Parâmetros

projectId
ProjectId
name
String
text
SourceText

Retornos

Aplica-se a