Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

VirtualPathProviderViewEngine Class

Represents an abstract base-class implementation of the IViewEngine interface.

System.Object
  System.Web.Mvc.VirtualPathProviderViewEngine
    System.Web.Mvc.BuildManagerViewEngine

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
[<AbstractClassAttribute>]
type VirtualPathProviderViewEngine =  
    class 
        interface IViewEngine 
    end

The VirtualPathProviderViewEngine type exposes the following members.

  NameDescription
Protected methodVirtualPathProviderViewEngineInitializes a new instance of the VirtualPathProviderViewEngine class.
Top
  NameDescription
Public propertyAreaMasterLocationFormatsGets or sets the area-enabled master location formats.
Public propertyAreaPartialViewLocationFormatsGets or sets the area-enabled partial-view location formats.
Public propertyAreaViewLocationFormatsGets or sets the area-enabled view location formats.
Protected propertyDisplayModeProviderGets or sets the display mode provider.
Public propertyFileExtensionsGets or sets the file-name extensions that are used to locate a view.
Public propertyMasterLocationFormatsGets or sets the master location formats.
Public propertyPartialViewLocationFormatsGets or sets the partial-view location formats.
Public propertyViewLocationCacheGets or sets the view location cache.
Public propertyViewLocationFormatsGets or sets the view location formats.
Protected propertyVirtualPathProviderGets or sets the virtual path provider.
Top
  NameDescription
Protected methodCreatePartialViewCreates the specified partial view by using the specified controller context.
Protected methodCreateViewCreates the specified view by using the controller context, path of the view, and path of the master view.
Public methodEquals (Inherited from Object.)
Protected methodFileExistsReturns a value that indicates whether the file is in the specified path by using the specified controller context.
Protected methodFinalize (Inherited from Object.)
Public methodFindPartialViewFinds the specified partial view by using the specified controller context.
Public methodFindViewFinds the specified view by using the specified controller context and master view name.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReleaseViewReleases the specified view by using the specified controller context.
Public methodToString (Inherited from Object.)
Top

You can use this class as a starting point for building a view engine that relies on the VirtualPathProviderViewEngine class to access view files.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.