ModelDataSourceView.CanDelete 属性
定义
获取一个值,该值指示与当前 ModelDataSourceView 控件关联的 ModelDataSource 对象是否支持删除操作。Gets a value that indicates whether the ModelDataSourceView object that is associated with the current ModelDataSource control supports the delete operation.
public:
virtual property bool CanDelete { bool get(); };
public override bool CanDelete { get; }
member this.CanDelete : bool
Public Overrides ReadOnly Property CanDelete As Boolean
属性值
如果支持该操作,则为 true;否则为 false。true if the operation is supported; otherwise, false.
注解
true如果 DeleteMethod 属性有值,则返回。Returns true if the DeleteMethod property has a value.