DataViewWebPart.ViewFlag Property

Gets or sets persisted fields for the view flag.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(False)> _
Public Property ViewFlag As String
    Get
    Set
'Usage
Dim instance As DataViewWebPart
Dim value As String

value = instance.ViewFlag

instance.ViewFlag = value
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(false)]
public string ViewFlag { get; set; }

Property Value

Type: System.String
A string that contains the fields for the view flag.

Remarks

The ViewFlag property is read/write. It is used to support CAML-generated .dwp files only.

See Also

Reference

DataViewWebPart Class

DataViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace