ModelDataSourceMethod Constructor (Object, MethodInfo)

.NET Framework (current version)
 

Initializes a new instance of the ModelDataSourceMethod class.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public ModelDataSourceMethod(
	object instance,
	MethodInfo methodInfo
)

Parameters

instance
Type: System.Object

The instance on which the method will be invoked.

methodInfo
Type: System.Reflection.MethodInfo

The method to be invoked.

.NET Framework
Available since 4.5
Return to top
Show: