BuildManager.GetCompiledCustomString Method (String)


Compiles a file, given its 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


Type: System.String

The virtual path of the file to build.

Return Value

Type: System.String

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

.NET Framework
Available since 2.0
Return to top