ModelDataSource.UpdateProperties 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當模型綁定正在使用時,會更新所需的屬性。
多載
| 名稱 | Description |
|---|---|
| UpdateProperties(String, String) |
更新單向資料綁定所需的屬性。 |
| UpdateProperties(String, String, String, String, String, String) |
更新雙向資料綁定所需的屬性。 |
UpdateProperties(String, String)
更新單向資料綁定所需的屬性。
public:
void UpdateProperties(System::String ^ modelTypeName, System::String ^ selectMethod);
public void UpdateProperties(string modelTypeName, string selectMethod);
member this.UpdateProperties : string * string -> unit
Public Sub UpdateProperties (modelTypeName As String, selectMethod As String)
參數
- modelTypeName
- String
型號名稱。
- selectMethod
- String
選擇方法的名稱。
適用於
UpdateProperties(String, String, String, String, String, String)
更新雙向資料綁定所需的屬性。
public:
void UpdateProperties(System::String ^ modelTypeName, System::String ^ selectMethod, System::String ^ updateMethod, System::String ^ insertMethod, System::String ^ deleteMethod, System::String ^ dataKeyName);
public void UpdateProperties(string modelTypeName, string selectMethod, string updateMethod, string insertMethod, string deleteMethod, string dataKeyName);
member this.UpdateProperties : string * string * string * string * string * string -> unit
Public Sub UpdateProperties (modelTypeName As String, selectMethod As String, updateMethod As String, insertMethod As String, deleteMethod As String, dataKeyName As String)
參數
- modelTypeName
- String
型號名稱。
- selectMethod
- String
選擇方法的名稱。
- updateMethod
- String
更新方法的名稱。
- insertMethod
- String
插入方法的名稱。
- deleteMethod
- String
刪除方法的名稱。
- dataKeyName
- String
資料鍵名稱。