Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Inserts the view in the specified virtual path by using the specified HTTP context, cache key, and virtual path.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub InsertViewLocation ( _
httpContext As HttpContextBase, _
key As String, _
virtualPath As String _
)
public void InsertViewLocation(
HttpContextBase httpContext,
string key,
string virtualPath
)
public:
virtual void InsertViewLocation(
HttpContextBase^ httpContext,
String^ key,
String^ virtualPath
) sealed
Parameters
- httpContext
Type: System.Web.HttpContextBase
The HTTP context.
- key
Type: System.String
The cache key.
- virtualPath
Type: System.String
The virtual path
Implements
IViewLocationCache.InsertViewLocation(HttpContextBase, String, String)
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The httpContext parameter is null reference (Nothing in Visual Basic). |