HttpMethodActionConstraint.HttpMethods 属性

定义

获取允许的 HTTP 方法的列表。 如果允许所有 HTTP 方法,将返回空列表。

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

属性值

适用于