ModelBindingContext 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供模型繫結器運作所在的內容。
public ref class ModelBindingContext
public class ModelBindingContext
type ModelBindingContext = class
Public Class ModelBindingContext
- 繼承
-
ModelBindingContext
建構函式
| ModelBindingContext() |
初始化 ModelBindingContext 類別的新執行個體。 |
| ModelBindingContext(ModelBindingContext) |
使用類別的現有執行個體,初始化 ModelBindingContext 類別的新執行個體。 |
屬性
| Model |
取得或設定模型。 |
| ModelBinderProviders |
取得或設定模型繫結器提供者的集合。 |
| ModelMetadata |
取得或設定模型的中繼資料。 |
| ModelName |
取得或設定模型的名稱。 |
| ModelState |
取得或設定模型狀態。 |
| ModelType |
取得模型的型別。 |
| PropertyMetadata |
取得模型屬性的中繼資料。 |
| ValidateRequest |
取得或設定值,指出是否驗證用戶端輸入。 |
| ValidationNode |
取得或設定驗證節點。 |
| ValueProvider |
取得或設定值提供者。 |
方法
| Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
| GetHashCode() |
做為預設雜湊函式。 (繼承來源 Object) |
| GetType() |
取得目前執行個體的 Type。 (繼承來源 Object) |
| MemberwiseClone() |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
| ToString() |
傳回代表目前物件的字串。 (繼承來源 Object) |