ActionDescriptor 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
描述 MVC 動作。
public ref class ActionDescriptor
C#
public class ActionDescriptor
type ActionDescriptor = class
Public Class ActionDescriptor
- 繼承
-
ActionDescriptor
- 衍生
Action |
初始化 ActionDescriptor 的新執行個體。 |
Action |
此動作的條件約束集。 必須全部滿足,才能選取動作。 |
Attribute |
取得或設定 AttributeRouteInfo。 |
Bound |
屬於模型系結的屬性集。 |
Display |
此動作的易記名稱。 |
Endpoint |
取得或設定此動作的端點中繼資料。 此 API 適用于基礎結構,不應由應用程式程式碼使用。 |
Filter |
與此動作相關聯的篩選集。 |
Id |
取得可唯一識別動作的識別碼。 |
Parameters |
與此動作相關聯的參數集。 |
Properties |
儲存與 相關聯的 ActionDescriptor 任意中繼資料屬性。 |
Route |
取得或設定路由值的集合,這些值必須由路由提供,才能選取動作。 |
Get |
使用 提供的 值做為索引鍵, Properties 從集合取得屬性的值 |
Set |
使用 提供的 值做為索引鍵, Properties 設定集合中屬性的值 |
產品 | 版本 |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |