PageParserFilter.GetCompilationMode(CompilationMode) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the current compilation mode for the page.
public:
virtual System::Web::UI::CompilationMode GetCompilationMode(System::Web::UI::CompilationMode current);
public virtual System.Web.UI.CompilationMode GetCompilationMode (System.Web.UI.CompilationMode current);
abstract member GetCompilationMode : System.Web.UI.CompilationMode -> System.Web.UI.CompilationMode
override this.GetCompilationMode : System.Web.UI.CompilationMode -> System.Web.UI.CompilationMode
Public Overridable Function GetCompilationMode (current As CompilationMode) As CompilationMode
- current
- CompilationMode
The current compilation mode for the page.
One of the CompilationMode values.
The TemplateControlParser class checks any associated PageParserFilter instance to apply a compilation mode to the currently processed page. The default implementation of the GetCompilationMode method simply returns the CompilationMode value that is passed in the current parameter. Override the GetCompilationMode method to use a specific or different CompilationMode value.
Produk | Versi |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Umpan balik .NET
.NET adalah proyek sumber terbuka. Pilih tautan untuk memberikan umpan balik: