summaryM:DotNetNuke.Web.Mvc.Framework.ViewEngineCollectionExt.FindPartialView(System.Web.Mvc.ViewEngineCollection,System.Web.Mvc.ControllerContext,System.String,System.Boolean)

Namespace: DotNetNuke.Web.Mvc.Framework
Assembly: DotNetNuke.Web.Mvc (in DotNetNuke.Web.Mvc.dll)

Syntax

C#
public static ViewEngineResult FindPartialView(
	this ViewEngineCollection viewEngineCollection,
	ControllerContext controllerContext,
	string partialViewName,
	bool useCache
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function FindPartialView ( 
	viewEngineCollection As ViewEngineCollection,
	controllerContext As ControllerContext,
	partialViewName As String,
	useCache As Boolean
) As ViewEngineResult

Parameters

viewEngineCollection
Type: ViewEngineCollection
paramviewEngineCollectionM:DotNetNuke.Web.Mvc.Framework.ViewEngineCollectionExt.FindPartialView(System.Web.Mvc.ViewEngineCollection,System.Web.Mvc.ControllerContext,System.String,System.Boolean)
controllerContext
Type: ControllerContext
paramcontrollerContextM:DotNetNuke.Web.Mvc.Framework.ViewEngineCollectionExt.FindPartialView(System.Web.Mvc.ViewEngineCollection,System.Web.Mvc.ControllerContext,System.String,System.Boolean)
partialViewName
Type: System..::..String
parampartialViewNameM:DotNetNuke.Web.Mvc.Framework.ViewEngineCollectionExt.FindPartialView(System.Web.Mvc.ViewEngineCollection,System.Web.Mvc.ControllerContext,System.String,System.Boolean)
useCache
Type: System..::..Boolean
paramuseCacheM:DotNetNuke.Web.Mvc.Framework.ViewEngineCollectionExt.FindPartialView(System.Web.Mvc.ViewEngineCollection,System.Web.Mvc.ControllerContext,System.String,System.Boolean)

Return Value

returnsM:DotNetNuke.Web.Mvc.Framework.ViewEngineCollectionExt.FindPartialView(System.Web.Mvc.ViewEngineCollection,System.Web.Mvc.ControllerContext,System.String,System.Boolean)

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ViewEngineCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see [b8020aae-374d-46a9-bcb7-8cc2390b93b6] or [175ce3ff-9bbf-4e64-8421-faeb81a0bb51].

See Also