HttpMethodRouteConstraint.AllowedMethods 属性

定义

获取约束允许的 HTTP 方法。

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

属性值

适用于