Share via


ObjectDataSourceDesigner.SelectMethod 属性

定义

获取或设置要在调用关联控件的 Select() 方法时执行的方法的名称。

public:
 property System::String ^ SelectMethod { System::String ^ get(); void set(System::String ^ value); };
public string SelectMethod { get; set; }
member this.SelectMethod : string with get, set
Public Property SelectMethod As String

属性值

一个字符串,其中包含要在调用 Select() 时执行的方法的名称。

注解

属性 SelectMethod 隐藏 SelectMethod 关联控件的 属性。

更改 属性的值 SelectMethod 时,将更新关联 ObjectDataSource 控件的设计时标记。 RefreshSchema如果 CanRefreshSchema 属性为 true,则调用 方法;否则引发 DataSourceChanged 事件。

适用于

另请参阅