共用方式為


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

    資料夾名稱做為連結文字。

傳回值

Type: System.Web.UI.MobileControls.Link
子資料夾 (或a null reference (Nothing in Visual Basic),如果folderName不存在) 的連結。

請參閱

參照

SPMobileUtility class

SPMobileUtility members

Microsoft.SharePoint.Utilities namespace