共用方式為


TemplateBinder.GetValues(RouteValueDictionary, RouteValueDictionary) 方法

定義

在路由中產生參數值。

public:
 Microsoft::AspNetCore::Routing::Template::TemplateValuesResult ^ GetValues(Microsoft::AspNetCore::Routing::RouteValueDictionary ^ ambientValues, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ values);
public Microsoft.AspNetCore.Routing.Template.TemplateValuesResult GetValues (Microsoft.AspNetCore.Routing.RouteValueDictionary ambientValues, Microsoft.AspNetCore.Routing.RouteValueDictionary values);
public Microsoft.AspNetCore.Routing.Template.TemplateValuesResult? GetValues (Microsoft.AspNetCore.Routing.RouteValueDictionary? ambientValues, Microsoft.AspNetCore.Routing.RouteValueDictionary values);
member this.GetValues : Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Routing.Template.TemplateValuesResult
Public Function GetValues (ambientValues As RouteValueDictionary, values As RouteValueDictionary) As TemplateValuesResult

參數

ambientValues
RouteValueDictionary

與目前要求相關聯的值。

values
RouteValueDictionary

要處理的路由值。

傳回

TemplateValuesResult 執行個體。 可以是 null。

適用於