获取或设置一个值,该值指示是否启用异步刷新。
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<ResourcesAttribute("DataFormWebPartAsyncRefresh", "DataFormWebPartAJAXOptions", _
"DataFormWebPartAsyncRefreshDescription")> _
<PersistenceModeAttribute(PersistenceMode.Attribute)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(True)> _
Public Overridable Property AsyncRefresh As Boolean
Get
Set
用法
Dim instance As DataFormWebPart
Dim value As Boolean
value = instance.AsyncRefresh
instance.AsyncRefresh = value
[ResourcesAttribute("DataFormWebPartAsyncRefresh", "DataFormWebPartAJAXOptions",
"DataFormWebPartAsyncRefreshDescription")]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(true)]
public virtual bool AsyncRefresh { get; set; }
属性值
类型:System.Boolean
true如果已启用的异步刷新 ;否则为false。
备注
如果AsyncRefresh设置为false,则ManualRefresh还将设置为false中。