Share via


SPDataSourceView.CanInsert Property

Gets a Boolean value that indicates whether the insert operation is supported for the current view.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides ReadOnly Property CanInsert As Boolean
    Get
'Usage
Dim instance As SPDataSourceView
Dim value As Boolean

value = instance.CanInsert
public override bool CanInsert { get; }

Property Value

Type: System.Boolean
true if the operation is supported; otherwise, false.

Remarks

The implementation of the CanInsert property in the SPDataSourceView class always returns true.

See Also

Reference

SPDataSourceView Class

SPDataSourceView Members

Microsoft.SharePoint.WebControls Namespace