BuildManager.GetCompiledCustomString(String) 方法

定义

编译文件(给定其虚拟路径)并返回生成提供程序保留在缓存中的自定义字符串。

public:
 static System::String ^ GetCompiledCustomString(System::String ^ virtualPath);
public static string GetCompiledCustomString(string virtualPath);
static member GetCompiledCustomString : string -> string
Public Shared Function GetCompiledCustomString (virtualPath As String) As String

参数

virtualPath
String

要生成的文件的虚拟路径。

返回

方法返回 GetCustomString(CompilerResults) 的字符串,缓存到磁盘或内存。

适用于

另请参阅