SPMobileUtility.CreateFolderNavigation method
NOTE: This API is now obsolete.
建立子資料夾的內容連結。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<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
Type: System.String資料夾名稱做為連結文字。
list
Type: Microsoft.SharePoint.SPList目前的清單。
view
Type: Microsoft.SharePoint.SPView目前的檢視。
currentFolder
Type: Microsoft.SharePoint.SPFolder目前的 (父系) 資料夾中。
傳回值
Type: System.Web.UI.MobileControls.Link
子資料夾 (或a null reference (Nothing in Visual Basic),如果folderName不存在) 的連結。