共用方式為


ModelDataSourceMethod(Object, MethodInfo) 建構函式

定義

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

public:
 ModelDataSourceMethod(System::Object ^ instance, System::Reflection::MethodInfo ^ methodInfo);
public ModelDataSourceMethod (object instance, System.Reflection.MethodInfo methodInfo);
new System.Web.UI.WebControls.ModelDataSourceMethod : obj * System.Reflection.MethodInfo -> System.Web.UI.WebControls.ModelDataSourceMethod
Public Sub New (instance As Object, methodInfo As MethodInfo)

參數

instance
Object

要在其上叫用方法的執行個體。

methodInfo
MethodInfo

要叫用的方法。

適用於