Share via


BlogMonthQuickLaunch.IListWebPart.ViewId property

Gets or sets the DefaultView ID for the current Web Part.

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

Syntax

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

value = CType(instance, IListWebPart).ViewId

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

Property value

Type: System.Int32
A 32-bit integer that identifies DefaultView that the Web Part uses to add links for the months to be displayed in the Quick Launch bar.

Implements

IListWebPart.ViewId

Remarks

This member is an interface member implementation. It can be used only when the BlogMonthQuickLaunch instance is cast to an IListWebPart interface.

See also

Reference

BlogMonthQuickLaunch class

BlogMonthQuickLaunch members

Microsoft.SharePoint.WebPartPages namespace