共用方式為


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

傳回

適用於