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


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

Создает новый экземпляр решения с указанным дополнительным документом, чтобы он был указан в тексте.

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

Создает новый экземпляр решения с указанным дополнительным документом, чтобы он был указан в тексте и версии.

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

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

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