PageParserFilter.Initialize Method

Definition

Initializes a filter used for a page.

protected virtual void Initialize();

Remarks

Because the PageParserFilter class does not expose well-defined public constructors, it is initialized by the page parsers that use the Initialize method. Override the Initialize method to add your own custom initialization steps when an instance of PageParserFilter is created and used by ASP.NET. The virtualPath parameter passed to the Initialize method sets the VirtualPath property, and cannot be null.

Applies to

Продукт Версии
.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