SPMobileUtility.CreateFolderNavigation 方法
请注意:此 API 现在已过时。
创建一个子文件夹中的内容的链接。
命名空间: Microsoft.SharePoint.Utilities
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")> _
Public Shared Function CreateFolderNavigation ( _
folderName As String, _
list As SPList, _
view As SPView, _
currentFolder As SPFolder _
) As Link
用法
Dim folderName As String
Dim list As SPList
Dim view As SPView
Dim currentFolder As SPFolder
Dim returnValue As Link
returnValue = SPMobileUtility.CreateFolderNavigation(folderName, _
list, view, currentFolder)
[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")]
public static Link CreateFolderNavigation(
string folderName,
SPList list,
SPView view,
SPFolder currentFolder
)
参数
folderName
类型:System.String文件夹名称作为链接文本。
list
类型:Microsoft.SharePoint.SPList当前列表中。
view
类型:Microsoft.SharePoint.SPView当前使用的视图。
currentFolder
类型:Microsoft.SharePoint.SPFolder当前的 (父) 文件夹中。
返回值
类型:System.Web.UI.MobileControls.Link
到子文件夹 (或空引用(无 在 Visual Basic 中),如果不存在folderName ) 的链接。