Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ViewId property
Collapse the table of content
Expand the table of content

DataFormWebPart.ViewId property

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

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

public int ViewId { get; set; }

Property value

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


© 2015 Microsoft