共用方式為


Document.WithFilePath(String) 方法

定義

建立此檔的新實例,更新為具有指定的檔案路徑。

public:
 Microsoft::CodeAnalysis::Document ^ WithFilePath(System::String ^ filePath);
public Microsoft.CodeAnalysis.Document WithFilePath (string filePath);
member this.WithFilePath : string -> Microsoft.CodeAnalysis.Document
Public Function WithFilePath (filePath As String) As Document

參數

filePath
String

傳回

適用於