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 Function GenerateCode ( virtualPath As String, virtualFileString As String, <OutAttribute> ByRef linePragmasTable As IDictionary ) As String
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: