MtgUtility.GetPageItems Method
Queries the specified folder for items to list on the SharePoint Foundation page.
Namespace: Microsoft.SharePoint.Meetings
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetPageItems ( _
spList As SPList, _
spFolder As SPFolder _
) As SPListItemCollection
'Usage
Dim spList As SPList
Dim spFolder As SPFolder
Dim returnValue As SPListItemCollection
returnValue = MtgUtility.GetPageItems(spList, _
spFolder)
public static SPListItemCollection GetPageItems(
SPList spList,
SPFolder spFolder
)
Parameters
spList
Type: Microsoft.SharePoint.SPList
spFolder
Type: Microsoft.SharePoint.SPFolderSPFolder to query for the list items.
Return Value
Type: Microsoft.SharePoint.SPListItemCollection
An SPListItemCollection of items from the SharePoint Foundation Web folder to display as directory entries on the SharePoint Foundation page.
Remarks
Document libraries, while similar to lists, can be thought of as Web-based folders where any number and type of digital documents can be stored, organized, and shared from a single location.
This method uses built-in SharePoint Foundation fields to query that location as a FileSystemObject to get the names of items that should be displayed on the SharePoint Foundation page.