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)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.ViewFlag

instance.ViewFlag = value
[RequiresDesignerPermissionAttribute]
[ObsoleteAttribute("Use IListWebPart.ViewFlags instead")]
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(false)]
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