共用方式為


DocumentInfo.WithFilePath(String) 方法

定義

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

參數

filePath
String

傳回

適用於