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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Use IListWebPart.ViewFlags instead")> _
<BrowsableAttribute(False)> _
<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
[ObsoleteAttribute("Use IListWebPart.ViewFlags instead")]
[BrowsableAttribute(false)]
[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.