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