次の方法で共有


RemoteAttribute コンストラクター

定義

オーバーロード

RemoteAttribute()

RemoteAttribute クラスの新しいインスタンスを初期化します。

RemoteAttribute(String)

指定したルート名を使用して、 RemoteAttribute クラスの新しいインスタンスを初期化します。

RemoteAttribute(String, String)

指定したアクション メソッド名とコントローラー名を RemoteAttribute 使用して、 クラスの新しいインスタンスを初期化します。

RemoteAttribute(String, String, String)

指定したアクション メソッド名 RemoteAttribute 、コントローラー名、および領域名を使用して、 クラスの新しいインスタンスを初期化します。

RemoteAttribute(String, String, AreaReference)

RemoteAttribute クラスの新しいインスタンスを初期化します。

RemoteAttribute()

RemoteAttribute クラスの新しいインスタンスを初期化します。

protected RemoteAttribute ();
Protected Sub New ()

適用対象

RemoteAttribute(String)

指定したルート名を使用して、 RemoteAttribute クラスの新しいインスタンスを初期化します。

public RemoteAttribute (string routeName);
new System.Web.Mvc.RemoteAttribute : string -> System.Web.Mvc.RemoteAttribute
Public Sub New (routeName As String)

パラメーター

routeName
String

ルートの名前。

適用対象

RemoteAttribute(String, String)

指定したアクション メソッド名とコントローラー名を RemoteAttribute 使用して、 クラスの新しいインスタンスを初期化します。

public RemoteAttribute (string action, string controller);
new System.Web.Mvc.RemoteAttribute : string * string -> System.Web.Mvc.RemoteAttribute
Public Sub New (action As String, controller As String)

パラメーター

action
String

アクション メソッドの名前です。

controller
String

コントローラーの名前。

適用対象

RemoteAttribute(String, String, String)

指定したアクション メソッド名 RemoteAttribute 、コントローラー名、および領域名を使用して、 クラスの新しいインスタンスを初期化します。

public RemoteAttribute (string action, string controller, string areaName);
new System.Web.Mvc.RemoteAttribute : string * string * string -> System.Web.Mvc.RemoteAttribute
Public Sub New (action As String, controller As String, areaName As String)

パラメーター

action
String

アクション メソッドの名前です。

controller
String

コントローラーの名前。

areaName
String

領域の名前です。

適用対象

RemoteAttribute(String, String, AreaReference)

RemoteAttribute クラスの新しいインスタンスを初期化します。

public RemoteAttribute (string action, string controller, System.Web.Mvc.AreaReference areaReference);
new System.Web.Mvc.RemoteAttribute : string * string * System.Web.Mvc.AreaReference -> System.Web.Mvc.RemoteAttribute
Public Sub New (action As String, controller As String, areaReference As AreaReference)

パラメーター

action
String

ルートの名前。

controller
String

コントローラーの名前。

areaReference
AreaReference

場合は、ルート UseRootでコントローラーを見つけます。 それ以外の場合は、現在の領域で検索します。

適用対象