Share via


SPList.RootFolder - Propriété

Gets the folder that contains all the files that are used in working with the list.

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

Syntaxe

'Déclaration
Public ReadOnly Property RootFolder As SPFolder
    Get
'Utilisation
Dim instance As SPList
Dim value As SPFolder

value = instance.RootFolder
public SPFolder RootFolder { get; }

Valeur de propriété

Type : Microsoft.SharePoint.SPFolder
An SPFolder object that represents the root folder.

Remarques

To use the RootFolder property, set the IncludeRootFolder property on the parent SPListCollection object to true.

Voir aussi

Référence

SPList classe

SPList - Membres

Microsoft.SharePoint - Espace de noms