HttpMethodMetadata.HttpMethods 属性    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回路由期间使用的 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)