Partager via


ReflectedHttpActionDescriptor.MethodInfo Property

Gets or sets the action-method information.

Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Property MethodInfo As MethodInfo
    Get
    Set
'Usage
Dim instance As ReflectedHttpActionDescriptor
Dim value As MethodInfo

value = instance.MethodInfo

instance.MethodInfo = value
public MethodInfo MethodInfo { get; set; }
public:
property MethodInfo^ MethodInfo {
    MethodInfo^ get ();
    void set (MethodInfo^ value);
}
member MethodInfo : MethodInfo with get, set
function get MethodInfo () : MethodInfo
function set MethodInfo (value : MethodInfo)

Property Value

Type: System.Reflection.MethodInfo
The action-method information.

See Also

Reference

ReflectedHttpActionDescriptor Class

System.Web.Http.Controllers Namespace