[This is preliminary documentation and is subject to change.]

Gets the entry-point method name for a handler type.

Namespace: Simple.Web.HttpSimple.Web.HttpSimple::Web::Http
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public static MethodInfo GetMethod(

Type type

)

VB

Public Shared Function GetMethod( _

type As Type _

) As MethodInfo

C++

public:

static MethodInfo^ GetMethod(

Type^ type

)

Parameters

type

Return Value

Type: System.Reflection.MethodInfoSystem.Reflection.MethodInfoSystem.Reflection::MethodInfo
The value of the MethodMethodMethod property, or null if the attribute is not applied to the type.

See Also

HttpMethodAttributeHttpMethodAttributeHttpMethodAttribute Class
Simple.Web.HttpSimple.Web.HttpSimple::Web::Http Namespace