編輯

共用方式為


BuildManager.GetCompiledCustomString(String) Method

Definition

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

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

Parameters

virtualPath
String

The virtual path of the file to build.

Returns

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

Applies to

See also