ActionModel.RouteValues プロパティ

定義

選択する対応するアクションの に Values 存在する必要があるルート値のコレクションを取得します。

public:
 property System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ RouteValues { System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ get(); };
public System.Collections.Generic.IDictionary<string,string> RouteValues { get; }
public System.Collections.Generic.IDictionary<string,string?> RouteValues { get; }
member this.RouteValues : System.Collections.Generic.IDictionary<string, string>
Public ReadOnly Property RouteValues As IDictionary(Of String, String)

プロパティ値

注釈

ActionName 値はキーに action 対応する暗黙的なルート値と見なされ、 の ControllerName 値はキー controllerに対応する暗黙的なルート値と見なされます。 これらのエントリは、アクション記述子の作成時に 暗黙的に に RouteValues 追加されますが、 では RouteValues表示されません。

のエントリは、 のRouteValuesRouteValuesエントリをオーバーライドできます。

適用対象