PropertyModel 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
型別,用來表示 中的 ControllerModel 屬性。
public ref class PropertyModel : Microsoft::AspNetCore::Mvc::ApplicationModels::IBindingModel, Microsoft::AspNetCore::Mvc::ApplicationModels::ICommonModel
public ref class PropertyModel : Microsoft::AspNetCore::Mvc::ApplicationModels::ParameterModelBase, Microsoft::AspNetCore::Mvc::ApplicationModels::ICommonModel
public class PropertyModel : Microsoft.AspNetCore.Mvc.ApplicationModels.IBindingModel, Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel
public class PropertyModel : Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase, Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel
type PropertyModel = class
interface ICommonModel
interface IPropertyModel
interface IBindingModel
type PropertyModel = class
inherit ParameterModelBase
interface ICommonModel
interface IPropertyModel
interface IBindingModel
type PropertyModel = class
inherit ParameterModelBase
interface IBindingModel
interface ICommonModel
interface IPropertyModel
Public Class PropertyModel
Implements IBindingModel, ICommonModel
Public Class PropertyModel
Inherits ParameterModelBase
Implements ICommonModel
- 繼承
-
PropertyModel
- 繼承
- 實作
建構函式
| PropertyModel(PropertyInfo, IReadOnlyList<Object>) |
建立 PropertyModel 的新執行個體。 |
| PropertyModel(PropertyModel) |
從指定的 PropertyModel 建立 的新實例 PropertyModel 。 |
屬性
| Attributes |
取得屬性上標注的任何屬性。 |
| BindingInfo |
取得或設定 BindingInfo 與此模型相關聯的 。 |
| BindingInfo | (繼承來源 ParameterModelBase) |
| Controller |
取得或設定 ControllerModel 這個 PropertyModel 與 相關聯的 。 |
| Name |
名稱。 (繼承來源 ParameterModelBase) |
| ParameterType |
類型。 (繼承來源 ParameterModelBase) |
| Properties |
屬性。 |
| PropertyInfo | |
| PropertyName |
屬性的名稱。 |
明確介面實作
| ICommonModel.MemberInfo |
型別,用來表示 中的 ControllerModel 屬性。 |
| ICommonModel.Name |
型別,用來表示 中的 ControllerModel 屬性。 |