DataSourceSelectArguments.Empty Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a DataSourceSelectArguments object with the sort expression set to Empty.

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

public static DataSourceSelectArguments Empty { get; }

The property returns a DataSourceSelectArguments object created with the default DataSourceSelectArguments() constructor. You can use the Empty property when you want to call the ExecuteSelect(DataSourceSelectArguments) method of a data source view class without any additional arguments.

.NET Framework
Available since 2.0
Return to top
Show: