Share via


ArrayModelBinder<TElement> 類別

定義

將瀏覽器要求對應至陣列。

generic <typename TElement>
public ref class ArrayModelBinder : System::Web::ModelBinding::CollectionModelBinder<TElement>
public class ArrayModelBinder<TElement> : System.Web.ModelBinding.CollectionModelBinder<TElement>
type ArrayModelBinder<'Element> = class
    inherit CollectionModelBinder<'Element>
Public Class ArrayModelBinder(Of TElement)
Inherits CollectionModelBinder(Of TElement)

類型參數

TElement

陣列的類型。

繼承
ArrayModelBinder<TElement>

建構函式

ArrayModelBinder<TElement>()

初始化 ArrayModelBinder<TElement> 類別的新執行個體。

方法

BindModel(ModelBindingExecutionContext, ModelBindingContext)

使用指定的執行內容和繫結內容來繫結模型。

(繼承來源 CollectionModelBinder<TElement>)
CreateOrReplaceCollection(ModelBindingExecutionContext, ModelBindingContext, IList<TElement>)

將集合轉換為陣列。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於