Solution.WithAdditionalDocumentTextLoader 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个新的解决方案实例,其中包含已更新的其他文档,使文本加载程序提供的文本。
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
- mode
- PreservationMode