PageParserFilter.GetCompilationMode(CompilationMode) Method
Definition
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
Parameters
- current
- CompilationMode
The current compilation mode for the page.
Returns
One of the CompilationMode values.
Remarks
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.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示