語言

PropertyModel 類別

定義

型別,用來表示 中的 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
實作

建構函式

名稱 Description
PropertyModel(PropertyInfo, IReadOnlyList<Object>)

建立 PropertyModel 的新執行個體。

PropertyModel(PropertyModel)

從指定的 PropertyModel 建立 的新實例 PropertyModel 。

屬性

名稱 Description
Attributes

取得屬性上標注的任何屬性。

BindingInfo

取得或設定 BindingInfo 與此模型相關聯的 。

BindingInfo

BindingInfo。

(繼承來源 ParameterModelBase)
Controller

取得或設定 ControllerModel 這個 PropertyModel 與 相關聯的 。

Name

名稱。

(繼承來源 ParameterModelBase)
ParameterType

類型。

(繼承來源 ParameterModelBase)
Properties

屬性。

PropertyInfo

PropertyInfo。

PropertyName

屬性的名稱。

明確介面實作

名稱 Description
ICommonModel.MemberInfo

型別,用來表示 中的 ControllerModel 屬性。

ICommonModel.Name

型別,用來表示 中的 ControllerModel 屬性。

適用於