共用方式為


HttpMethodConstraint.AllowedMethods 屬性

定義

取得路由允許之 HTTP 動詞命令的集合。

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 動詞命令的集合。

適用於

另請參閱