共用方式為


SPListCollection.EnsureListsData Method

Checks data for a specified list and, if necessary, updates the list to ensure that the most current data is used.

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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedMethod)> _
Protected Sub EnsureListsData ( _
    strListName As String _
)
'Usage
Dim strListName As String

Me.EnsureListsData(strListName)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedMethod)]
protected void EnsureListsData(
    string strListName
)

Parameters

  • strListName
    Type: System.String

    A string that contains the name of a list.

See Also

Reference

SPListCollection Class

SPListCollection Members

Microsoft.SharePoint Namespace