BuildManager.GetCompiledCustomString Method

Compiles a file for a given virtual path and returns a custom string that the build provider persists in cache.

Namespace: System.Web.Compilation
Assembly: System.Web (in system.web.dll)

public static string GetCompiledCustomString (
	string virtualPath
public static String GetCompiledCustomString (
	String virtualPath
public static function GetCompiledCustomString (
	virtualPath : String
) : String
Not applicable.



The virtual path to build to generate the custom string.

Return Value

A string as returned by GetCustomString that is cached to disk or memory.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions