Share via


DataViewWebPart.Default 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 Default As String
    Get
    Set
'Usage
Dim instance As DataViewWebPart
Dim value As String

value = instance.Default

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

Property Value

Type: System.String
A string that contains the default value for a field.

Remarks

The Default 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