ListViewWebPart.Flags property

NOTE: This API is now obsolete.

Gets or sets numeric representation of the Microsoft.SharePoint.WebPartPages.ViewType enumeration, which specifies which view to display.

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

Syntax

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

value = instance.Flags

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

Property value

Type: System.UInt32
An unsigned integer that specifies display options for this Web Part.

Remarks

The Flags property is read/write. The numeric value corresponds to members of the Microsoft.SharePoint.WebPartPages.ViewType enumeration.

See also

Reference

ListViewWebPart class

ListViewWebPart members

Microsoft.SharePoint.WebPartPages namespace