ClientBuildManager.GetGeneratedSourceFile(String) 方法

定义

获取虚拟路径的生成文件的物理路径。Gets the physical path to the generated file for a virtual path.

public:
 System::String ^ GetGeneratedSourceFile(System::String ^ virtualPath);
public string GetGeneratedSourceFile (string virtualPath);
member this.GetGeneratedSourceFile : string -> string
Public Function GetGeneratedSourceFile (virtualPath As String) As String

参数

virtualPath
String

要检索的文件的虚拟路径。The virtual path of the file to retrieve.

返回

String,包含所生成文件的物理路径。A String that contains the physical path to the generated file.

例外

virtualPath 为 null。virtualPath is null.

适用于

另请参阅