CustomModelBinderAttribute 類別

定義

表示叫用自訂模型繫結器的屬性。

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Parameter | System.AttributeTargets.Struct, AllowMultiple=false, Inherited=false)]
public abstract class CustomModelBinderAttribute : Attribute
type CustomModelBinderAttribute = class
    inherit Attribute
Public MustInherit Class CustomModelBinderAttribute
Inherits Attribute
繼承
CustomModelBinderAttribute
衍生
屬性

建構函式

CustomModelBinderAttribute()

初始化 CustomModelBinderAttribute 類別的新執行個體。

方法

GetBinder()

擷取相關聯的模型繫結器。

適用於