共用方式為


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)

屬性值

實作

適用於