다음을 통해 공유


Solution.WithAdditionalDocumentText 메서드

정의

오버로드

WithAdditionalDocumentText(DocumentId, SourceText, PreservationMode)

텍스트를 지정하도록 업데이트된 추가 문서를 사용하여 새 솔루션 인스턴스를 만듭니다.

WithAdditionalDocumentText(DocumentId, TextAndVersion, PreservationMode)

텍스트 및 버전을 지정하도록 업데이트된 추가 문서를 사용하여 새 솔루션 인스턴스를 만듭니다.

WithAdditionalDocumentText(DocumentId, SourceText, 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

텍스트를 지정하도록 업데이트된 추가 문서를 사용하여 새 솔루션 인스턴스를 만듭니다.

public Microsoft.CodeAnalysis.Solution WithAdditionalDocumentText (Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.Text.SourceText text, Microsoft.CodeAnalysis.PreservationMode mode = Microsoft.CodeAnalysis.PreservationMode.PreserveValue);
member this.WithAdditionalDocumentText : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.Text.SourceText * Microsoft.CodeAnalysis.PreservationMode -> Microsoft.CodeAnalysis.Solution
Public Function WithAdditionalDocumentText (documentId As DocumentId, text As SourceText, Optional mode As PreservationMode = Microsoft.CodeAnalysis.PreservationMode.PreserveValue) As Solution

매개 변수

documentId
DocumentId
text
SourceText

반환

적용 대상

WithAdditionalDocumentText(DocumentId, TextAndVersion, 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

텍스트 및 버전을 지정하도록 업데이트된 추가 문서를 사용하여 새 솔루션 인스턴스를 만듭니다.

public Microsoft.CodeAnalysis.Solution WithAdditionalDocumentText (Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.TextAndVersion textAndVersion, Microsoft.CodeAnalysis.PreservationMode mode = Microsoft.CodeAnalysis.PreservationMode.PreserveValue);
member this.WithAdditionalDocumentText : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.TextAndVersion * Microsoft.CodeAnalysis.PreservationMode -> Microsoft.CodeAnalysis.Solution
Public Function WithAdditionalDocumentText (documentId As DocumentId, textAndVersion As TextAndVersion, Optional mode As PreservationMode = Microsoft.CodeAnalysis.PreservationMode.PreserveValue) As Solution

매개 변수

documentId
DocumentId
textAndVersion
TextAndVersion

반환

적용 대상