HttpMethodMetadata.HttpMethods 属性

定义

返回路由期间使用的 HTTP 方法的只读集合。 空集合表示将接受任何 HTTP 方法。

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

属性值

实现

适用于