다음을 통해 공유


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

Syntax

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

value = instance.Flags

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