ClientBuildManager::GenerateCode Method (String^, String^, IDictionary^%)
.NET Framework (current version)
Generates code from the contents of a file.
Assembly: System.Web (in System.Web.dll)
public:
String^ GenerateCode(
String^ virtualPath,
String^ virtualFileString,
[OutAttribute] IDictionary^% linePragmasTable
)
Parameters
- virtualPath
-
Type:
System::String^
The virtual path to the file.
- virtualFileString
-
Type:
System::String^
The contents of the file.
- linePragmasTable
-
Type:
System.Collections::IDictionary^%
When this method returns, contains a dictionary of line pragmas.
| Exception | Condition |
|---|---|
| ArgumentNullException | virtualPath is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: