Compartilhar via


ListFormWebPart.ViewFlags Property

Gets or sets the type of content to be displayed by the ListFormWebPart.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<WebBrowsableAttribute(False)> _
<BrowsableAttribute(False)> _
Public Property ViewFlags As SPViewFlags
    Get
    Set
'Usage
Dim instance As ListFormWebPart
Dim value As SPViewFlags

value = instance.ViewFlags

instance.ViewFlags = value
[WebPartStorageAttribute(Storage.Shared)]
[WebBrowsableAttribute(false)]
[BrowsableAttribute(false)]
public SPViewFlags ViewFlags { get; set; }

Property Value

Type: Microsoft.SharePoint.SPViewFlags
One of the enumeration values that indicates the type of content that the Web Part displays.

Implements

IListWebPart.ViewFlags

See Also

Reference

ListFormWebPart Class

ListFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace