Share via


SPMobileUtility.CreateFolderNavigation - Méthode

Remarque : cette API est désormais obsolète.

Crée un lien vers le contenu d'un dossier enfant.

Espace de noms :  Microsoft.SharePoint.Utilities
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
<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
'Utilisation
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
)

Paramètres

  • folderName
    Type : System.String

    Le nom du dossier qui sert de texte du lien.

Valeur renvoyée

Type : System.Web.UI.MobileControls.Link
Un lien vers le dossier enfant (ou une référence Null (Rien dans Visual Basic), si folderName n'existe pas).

Voir aussi

Référence

SPMobileUtility classe

SPMobileUtility - Membres

Microsoft.SharePoint.Utilities - Espace de noms