DataFormWebPart.ViewId property

Gets or sets the view identifier (ID) for the DataFormWebPart.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

'Declaration
<WebBrowsableAttribute(False)> _
Public Property ViewId As Integer
	Get
	Set
'Usage
Dim instance As DataFormWebPart
Dim value As Integer

value = instance.ViewId

instance.ViewId = value

Property value

Type: System.Int32
The ID of view that is associated with the DataFormWebPart. The default value is 0.

Implements

IListWebPart.ViewId
Show: