Freigeben über


WebFormViewEngine Class

Represents a view engine that is used to render a Web Forms page to the response.

Inheritance Hierarchy

System.Object
  System.Web.Mvc.VirtualPathProviderViewEngine
    System.Web.Mvc.WebFormViewEngine

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Class WebFormViewEngine _
    Inherits VirtualPathProviderViewEngine
public class WebFormViewEngine : VirtualPathProviderViewEngine
public ref class WebFormViewEngine : public VirtualPathProviderViewEngine

The WebFormViewEngine type exposes the following members.

Constructors

  Name Description
Public method WebFormViewEngine Initializes a new instance of the WebFormViewEngine class.

Top

Properties

  Name Description
Public property AreaMasterLocationFormats Gets or sets the area-enabled master location formats. (Inherited from VirtualPathProviderViewEngine.)
Public property AreaPartialViewLocationFormats Gets or sets the area-enabled partial-view location formats. (Inherited from VirtualPathProviderViewEngine.)
Public property AreaViewLocationFormats Gets or sets the area-enabled view location formats. (Inherited from VirtualPathProviderViewEngine.)
Public property MasterLocationFormats Gets or sets the master location formats. (Inherited from VirtualPathProviderViewEngine.)
Public property PartialViewLocationFormats Gets or sets the partial-view location formats. (Inherited from VirtualPathProviderViewEngine.)
Public property ViewLocationCache Gets or sets the view location cache. (Inherited from VirtualPathProviderViewEngine.)
Public property ViewLocationFormats Gets or sets the view location formats. (Inherited from VirtualPathProviderViewEngine.)
Protected property VirtualPathProvider Gets or sets the virtual path provider. (Inherited from VirtualPathProviderViewEngine.)

Top

Methods

  Name Description
Protected method CreatePartialView Creates the specified partial view by using the specified controller context. (Overrides VirtualPathProviderViewEngine.CreatePartialView(ControllerContext, String).)
Protected method CreateView Creates the specified view by using the specified controller context and the paths of the view and master view. (Overrides VirtualPathProviderViewEngine.CreateView(ControllerContext, String, String).)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method FileExists Determines whether a file at the specified location exists for the specified controller context. (Overrides VirtualPathProviderViewEngine.FileExists(ControllerContext, String).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindPartialView Finds the specified partial view by using the specified controller context. (Inherited from VirtualPathProviderViewEngine.)
Public method FindView Finds the specified view by using the specified controller context and master view name. (Inherited from VirtualPathProviderViewEngine.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReleaseView Releases the specified view by using the specified controller context. (Inherited from VirtualPathProviderViewEngine.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Mvc Namespace