HttpMethodConstraint.AllowedMethods 属性
定义
获取路由允许的 HTTP 谓词的集合。Gets the collection of allowed HTTP verbs for the route.
public:
property System::Collections::Generic::ICollection<System::String ^> ^ AllowedMethods { System::Collections::Generic::ICollection<System::String ^> ^ get(); };
public System.Collections.Generic.ICollection<string> AllowedMethods { get; }
member this.AllowedMethods : System.Collections.Generic.ICollection<string>
Public ReadOnly Property AllowedMethods As ICollection(Of String)
属性值
路由允许的 HTTP 谓词的集合。A collection of allowed HTTP verbs for the route.