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