Solution.AddDocument 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
AddDocument(DocumentId, String, SyntaxNode, IEnumerable<String>, String, Boolean, PreservationMode) |
해당 프로젝트 이름과 루트 SyntaxNode로 정의된 새 문서 인스턴스를 포함하도록 업데이트된 새 솔루션 인스턴스를 만듭니다. |
AddDocument(DocumentId, String, SourceText, IEnumerable<String>, String, Boolean) |
해당 프로젝트 이름과 텍스트로 정의된 새 문서 인스턴스를 포함하도록 업데이트된 새 솔루션 인스턴스를 만듭니다. |
AddDocument(DocumentInfo) |
문서 정보로 정의된 새 문서 인스턴스를 포함하도록 업데이트된 해당 프로젝트를 사용하여 새 솔루션 인스턴스를 만듭니다. |
AddDocument(DocumentId, String, TextLoader, IEnumerable<String>) |
인수가 지정된 새 문서를 포함하도록 프로젝트가 업데이트된 새 솔루션 인스턴스를 만듭니다. |
AddDocument(DocumentId, String, String, IEnumerable<String>, String) |
해당 프로젝트 이름과 텍스트로 정의된 새 문서 인스턴스를 포함하도록 업데이트된 새 솔루션 인스턴스를 만듭니다. |
AddDocument(DocumentId, String, SyntaxNode, IEnumerable<String>, String, Boolean, PreservationMode)
- 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
- Source:
- Solution.cs
해당 프로젝트 이름과 루트 SyntaxNode로 정의된 새 문서 인스턴스를 포함하도록 업데이트된 새 솔루션 인스턴스를 만듭니다.
public Microsoft.CodeAnalysis.Solution AddDocument (Microsoft.CodeAnalysis.DocumentId documentId, string name, Microsoft.CodeAnalysis.SyntaxNode syntaxRoot, System.Collections.Generic.IEnumerable<string> folders = default, string filePath = default, bool isGenerated = false, Microsoft.CodeAnalysis.PreservationMode preservationMode = Microsoft.CodeAnalysis.PreservationMode.PreserveValue);
public Microsoft.CodeAnalysis.Solution AddDocument (Microsoft.CodeAnalysis.DocumentId documentId, string name, Microsoft.CodeAnalysis.SyntaxNode syntaxRoot, System.Collections.Generic.IEnumerable<string>? folders = default, string? filePath = default, bool isGenerated = false, Microsoft.CodeAnalysis.PreservationMode preservationMode = Microsoft.CodeAnalysis.PreservationMode.PreserveValue);
member this.AddDocument : Microsoft.CodeAnalysis.DocumentId * string * Microsoft.CodeAnalysis.SyntaxNode * seq<string> * string * bool * Microsoft.CodeAnalysis.PreservationMode -> Microsoft.CodeAnalysis.Solution
Public Function AddDocument (documentId As DocumentId, name As String, syntaxRoot As SyntaxNode, Optional folders As IEnumerable(Of String) = Nothing, Optional filePath As String = Nothing, Optional isGenerated As Boolean = false, Optional preservationMode As PreservationMode = Microsoft.CodeAnalysis.PreservationMode.PreserveValue) As Solution
매개 변수
- documentId
- DocumentId
- name
- String
- syntaxRoot
- SyntaxNode
- folders
- IEnumerable<String>
- filePath
- String
- isGenerated
- Boolean
- preservationMode
- PreservationMode
반환
적용 대상
AddDocument(DocumentId, String, SourceText, IEnumerable<String>, String, Boolean)
- 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
- Source:
- Solution.cs
해당 프로젝트 이름과 텍스트로 정의된 새 문서 인스턴스를 포함하도록 업데이트된 새 솔루션 인스턴스를 만듭니다.
public Microsoft.CodeAnalysis.Solution AddDocument (Microsoft.CodeAnalysis.DocumentId documentId, string name, Microsoft.CodeAnalysis.Text.SourceText text, System.Collections.Generic.IEnumerable<string> folders = default, string filePath = default, bool isGenerated = false);
public Microsoft.CodeAnalysis.Solution AddDocument (Microsoft.CodeAnalysis.DocumentId documentId, string name, Microsoft.CodeAnalysis.Text.SourceText text, System.Collections.Generic.IEnumerable<string>? folders = default, string? filePath = default, bool isGenerated = false);
member this.AddDocument : Microsoft.CodeAnalysis.DocumentId * string * Microsoft.CodeAnalysis.Text.SourceText * seq<string> * string * bool -> Microsoft.CodeAnalysis.Solution
Public Function AddDocument (documentId As DocumentId, name As String, text As SourceText, Optional folders As IEnumerable(Of String) = Nothing, Optional filePath As String = Nothing, Optional isGenerated As Boolean = false) As Solution
매개 변수
- documentId
- DocumentId
- name
- String
- text
- SourceText
- folders
- IEnumerable<String>
- filePath
- String
- isGenerated
- Boolean
반환
적용 대상
AddDocument(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
- Source:
- Solution.cs
문서 정보로 정의된 새 문서 인스턴스를 포함하도록 업데이트된 해당 프로젝트를 사용하여 새 솔루션 인스턴스를 만듭니다.
public:
Microsoft::CodeAnalysis::Solution ^ AddDocument(Microsoft::CodeAnalysis::DocumentInfo ^ documentInfo);
public Microsoft.CodeAnalysis.Solution AddDocument (Microsoft.CodeAnalysis.DocumentInfo documentInfo);
member this.AddDocument : Microsoft.CodeAnalysis.DocumentInfo -> Microsoft.CodeAnalysis.Solution
Public Function AddDocument (documentInfo As DocumentInfo) As Solution
매개 변수
- documentInfo
- DocumentInfo
반환
적용 대상
AddDocument(DocumentId, String, TextLoader, IEnumerable<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
- Source:
- Solution.cs
인수가 지정된 새 문서를 포함하도록 프로젝트가 업데이트된 새 솔루션 인스턴스를 만듭니다.
public Microsoft.CodeAnalysis.Solution AddDocument (Microsoft.CodeAnalysis.DocumentId documentId, string name, Microsoft.CodeAnalysis.TextLoader loader, System.Collections.Generic.IEnumerable<string> folders = default);
public Microsoft.CodeAnalysis.Solution AddDocument (Microsoft.CodeAnalysis.DocumentId documentId, string name, Microsoft.CodeAnalysis.TextLoader loader, System.Collections.Generic.IEnumerable<string>? folders = default);
member this.AddDocument : Microsoft.CodeAnalysis.DocumentId * string * Microsoft.CodeAnalysis.TextLoader * seq<string> -> Microsoft.CodeAnalysis.Solution
Public Function AddDocument (documentId As DocumentId, name As String, loader As TextLoader, Optional folders As IEnumerable(Of String) = Nothing) As Solution
매개 변수
- documentId
- DocumentId
- name
- String
- loader
- TextLoader
- folders
- IEnumerable<String>
반환
적용 대상
AddDocument(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
- Source:
- Solution.cs
해당 프로젝트 이름과 텍스트로 정의된 새 문서 인스턴스를 포함하도록 업데이트된 새 솔루션 인스턴스를 만듭니다.
public Microsoft.CodeAnalysis.Solution AddDocument (Microsoft.CodeAnalysis.DocumentId documentId, string name, string text, System.Collections.Generic.IEnumerable<string> folders = default, string filePath = default);
public Microsoft.CodeAnalysis.Solution AddDocument (Microsoft.CodeAnalysis.DocumentId documentId, string name, string text, System.Collections.Generic.IEnumerable<string>? folders = default, string? filePath = default);
member this.AddDocument : Microsoft.CodeAnalysis.DocumentId * string * string * seq<string> * string -> Microsoft.CodeAnalysis.Solution
Public Function AddDocument (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
반환
적용 대상
.NET