BuildManager.GetCompiledCustomString(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
编译文件(给定其虚拟路径)并返回生成提供程序保留在缓存中的自定义字符串。
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) 的字符串,缓存到磁盘或内存。