ModelDataSourceMethod.Instance Property

.NET Framework (current version)
 

Gets the instance on which the method will be invoked.

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

public object Instance { get; internal set; }

Property Value

Type: System.Object

The instance on which the method will be invoked. For static methods, this will be null.

.NET Framework
Available since 4.5
Return to top
Show: