Solution.WithAdditionalDocumentTextLoader 方法

定义

创建一个新的解决方案实例,其中包含已更新的其他文档,使文本加载程序提供的文本。

public:
 Microsoft::CodeAnalysis::Solution ^ WithAdditionalDocumentTextLoader(Microsoft::CodeAnalysis::DocumentId ^ documentId, Microsoft::CodeAnalysis::TextLoader ^ loader, Microsoft::CodeAnalysis::PreservationMode mode);
public Microsoft.CodeAnalysis.Solution WithAdditionalDocumentTextLoader (Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.TextLoader loader, Microsoft.CodeAnalysis.PreservationMode mode);
member this.WithAdditionalDocumentTextLoader : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.TextLoader * Microsoft.CodeAnalysis.PreservationMode -> Microsoft.CodeAnalysis.Solution
Public Function WithAdditionalDocumentTextLoader (documentId As DocumentId, loader As TextLoader, mode As PreservationMode) As Solution

参数

documentId
DocumentId
loader
TextLoader

返回

适用于