ModelDataSourceView.CanDelete Property

.NET Framework (current version)
 
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 value that indicates whether the ModelDataSourceView object that is associated with the current ModelDataSource control supports the delete operation.

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

public override bool CanDelete { get; }

Property Value

Type: System.Boolean

true if the operation is supported; otherwise, false.

Returns true if the DeleteMethod property has a value.

.NET Framework
Available since 4.5
Return to top
Show: