ListFormWebPart.ViewFlag property

NOTE: This API is now obsolete.

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

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

value = instance.ViewFlag

instance.ViewFlag = value
[BrowsableAttribute(false)]
[ObsoleteAttribute("Use IListWebPart.ViewFlags instead")]
[WebPartStorageAttribute(Storage.Shared)]
public string ViewFlag { get; set; }

Property value

Type: System.String
The string that represents the type of content to be displayed by the ListFormWebPart.

Remarks

This property is obsolete. Use the ViewFlags property instead.

See also

Reference

ListFormWebPart class

ListFormWebPart members

Microsoft.SharePoint.WebPartPages namespace