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

返回

适用于