共用方式為


DataFormWebPart.ManualRefresh Property

Gets or sets a value that indicates whether the manual refresh is enabled.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(True)> _
<ResourcesAttribute("DataFormWebPartManualRefresh", "DataFormWebPartAJAXOptions",  _
    "DataFormWebPartManualRefreshDescription")> _
<PersistenceModeAttribute(PersistenceMode.Attribute)> _
Public Overridable Property ManualRefresh As Boolean
    Get
    Set
'Usage
Dim instance As DataFormWebPart
Dim value As Boolean

value = instance.ManualRefresh

instance.ManualRefresh = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(true)]
[ResourcesAttribute("DataFormWebPartManualRefresh", "DataFormWebPartAJAXOptions", 
    "DataFormWebPartManualRefreshDescription")]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public virtual bool ManualRefresh { get; set; }

Property Value

Type: System.Boolean
true if the asynchronous manual refresh is enabled; otherwise, false.

Remarks

If the ManualRefresh is set to true, the AsyncRefresh will also be set to true.

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace