Share via


BlogAdminWebPart.IListWebPart.ViewId property

An identifier used to keep track of what form (if any) this web part belongs to. Implementation is for IListWebPart.

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

Syntax

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

value = CType(instance, IListWebPart).ViewId

CType(instance, IListWebPart).ViewId = value
[WebBrowsableAttribute(false)]
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.None)]
intIListWebPart.ViewId { get; set; }

Property value

Type: System.Int32
The form Id if the web part is a form, otherwise this property is the web part's view id.

Implements

IListWebPart.ViewId

See also

Reference

BlogAdminWebPart class

BlogAdminWebPart members

Microsoft.SharePoint.WebPartPages namespace