共用方式為


Solution.WithDocumentFilePath(DocumentId, String) 方法

定義

建立新的方案實例,並更新指定的檔,以擁有指定的檔案路徑。

public:
 Microsoft::CodeAnalysis::Solution ^ WithDocumentFilePath(Microsoft::CodeAnalysis::DocumentId ^ documentId, System::String ^ filePath);
public Microsoft.CodeAnalysis.Solution WithDocumentFilePath (Microsoft.CodeAnalysis.DocumentId documentId, string filePath);
member this.WithDocumentFilePath : Microsoft.CodeAnalysis.DocumentId * string -> Microsoft.CodeAnalysis.Solution
Public Function WithDocumentFilePath (documentId As DocumentId, filePath As String) As Solution

參數

documentId
DocumentId
filePath
String

傳回

適用於