ActionNameAttribute クラス

定義

アクションの名前に使用される属性を表します。

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class ActionNameAttribute : System.Web.Mvc.ActionNameSelectorAttribute
type ActionNameAttribute = class
    inherit ActionNameSelectorAttribute
Public NotInheritable Class ActionNameAttribute
Inherits ActionNameSelectorAttribute
継承
属性

コンストラクター

ActionNameAttribute(String)

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

プロパティ

Name

アクションの名前を取得または設定します。

メソッド

IsValidName(ControllerContext, String, MethodInfo)

指定したコントローラー コンテキスト内でアクション名が有効かどうかを判断します。

適用対象