Freigeben über


DataFormWebPart.AutoRefresh-Eigenschaft

Dient zum Abrufen oder Festlegen eines Werts, das angibt, ob die automatische Aktualisierung aktiviert ist.

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

Syntax

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

value = instance.AutoRefresh

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

Eigenschaftswert

Typ: System.Boolean
true , wenn die automatische Aktualisierung aktiviert ist; andernfalls false.

Hinweise

Wenn die AutoRefresh auf truefestgelegt ist, wird die AsyncRefresh ebenfalls auf truefestgelegt sein.

Siehe auch

Referenz

DataFormWebPart Klasse

DataFormWebPart-Member

Microsoft.SharePoint.WebPartPages-Namespace