ListFormWebPart.ViewId property

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

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.None)> _
<WebBrowsableAttribute(False)> _
<BrowsableAttribute(False)> _
Public Property ViewId As Integer
    Get
    Set
'Usage
Dim instance As ListFormWebPart
Dim value As Integer

value = instance.ViewId

instance.ViewId = value
[WebPartStorageAttribute(Storage.None)]
[WebBrowsableAttribute(false)]
[BrowsableAttribute(false)]
public int ViewId { get; set; }

Property value

Type: System.Int32
The ID of view that is associated with the ListFormWebPart.

Implements

IListWebPart.ViewId

See also

Reference

ListFormWebPart class

ListFormWebPart members

Microsoft.SharePoint.WebPartPages namespace