DynamicDataRouteHandler.SetRequestMetaTable(HttpContext, MetaTable) 方法

定义

设置与当前 MetaTable 对象关联的 HttpRequest 对象。

public:
 static void SetRequestMetaTable(System::Web::HttpContext ^ httpContext, System::Web::DynamicData::MetaTable ^ table);
public static void SetRequestMetaTable (System.Web.HttpContext httpContext, System.Web.DynamicData.MetaTable table);
static member SetRequestMetaTable : System.Web.HttpContext * System.Web.DynamicData.MetaTable -> unit
Public Shared Sub SetRequestMetaTable (httpContext As HttpContext, table As MetaTable)

参数

httpContext
HttpContext

与 Web 请求关联的上下文信息。

table
MetaTable

与当前请求关联的元表。

注解

HttpRequest对象可 null 用于非动态数据的请求。

适用于