共用方式為


DataFormWebPart.ViewFlags Property

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

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

Syntax

'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property ViewFlags As SPViewFlags
    Get
    Set
'Usage
Dim instance As DataFormWebPart
Dim value As SPViewFlags

value = instance.ViewFlags

instance.ViewFlags = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public SPViewFlags ViewFlags { get; set; }

Property Value

Type: Microsoft.SharePoint.SPViewFlags
A bitwise combination of the enumeration values.

Implements

IListWebPart.ViewFlags

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace