TemplateBinder.TryProcessConstraints メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
TemplateBinder コンストラクターに渡された 制約 を処理します。
public:
bool TryProcessConstraints(Microsoft::AspNetCore::Http::HttpContext ^ httpContext, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ combinedValues, [Runtime::InteropServices::Out] System::String ^ % parameterName, [Runtime::InteropServices::Out] Microsoft::AspNetCore::Routing::IRouteConstraint ^ % constraint);
public bool TryProcessConstraints(Microsoft.AspNetCore.Http.HttpContext? httpContext, Microsoft.AspNetCore.Routing.RouteValueDictionary combinedValues, out string? parameterName, out Microsoft.AspNetCore.Routing.IRouteConstraint? constraint);
public bool TryProcessConstraints(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteValueDictionary combinedValues, out string parameterName, out Microsoft.AspNetCore.Routing.IRouteConstraint constraint);
member this.TryProcessConstraints : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Routing.RouteValueDictionary * string * IRouteConstraint -> bool
Public Function TryProcessConstraints (httpContext As HttpContext, combinedValues As RouteValueDictionary, ByRef parameterName As String, ByRef constraint As IRouteConstraint) As Boolean
パラメーター
- httpContext
- HttpContext
現在の要求に関連付けられている HttpContext 。
- combinedValues
- RouteValueDictionary
ルートのパラメーターを含むディクショナリ。
- parameterName
- String
パラメーターの名前。
- constraint
- IRouteConstraint
制約オブジェクト。
返品
true 制約が正常に処理された場合は false。それ以外の場合は false。