Share via


ListViewWebPart.ViewFlag property

NOTE: This API is now obsolete.

Gets a value that represents the type of content to be displayed by the ListViewWebPart.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
<ObsoleteAttribute("Use IListWebPart.ViewFlags instead")> _
<WebPartStorageAttribute(Storage.Shared)> _
<RequiresDesignerPermissionAttribute> _
Public Property ViewFlag As UInteger
    Get
    Set
'Usage
Dim instance As ListViewWebPart
Dim value As UInteger

value = instance.ViewFlag

instance.ViewFlag = value
[BrowsableAttribute(false)]
[ObsoleteAttribute("Use IListWebPart.ViewFlags instead")]
[WebPartStorageAttribute(Storage.Shared)]
[RequiresDesignerPermissionAttribute]
public uint ViewFlag { get; set; }

Property value

Type: System.UInt32
A value that specifies the type of content to be displayed by the ListViewWebPart.

Remarks

This property is obsolete. Use the ViewFlags property instead.

See also

Reference

ListViewWebPart class

ListViewWebPart members

Microsoft.SharePoint.WebPartPages namespace