AdhocWorkspace.AddDocument 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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