Share via


ListFormWebPart.ViewId Property

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

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

Syntax

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

value = instance.ViewId

instance.ViewId = value
[WebBrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.None)]
[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