Share via


DataViewWebPart.ViewId Property

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

Syntax

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

value = instance.ViewId

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

Property Value

Type: System.Int32

Implements

IListWebPart.ViewId

See Also

Reference

DataViewWebPart Class

DataViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace