ContentIterator.ListHasItemsOfContentTypeId - Méthode
Espace de noms : Microsoft.Office.Server.Utilities
Assembly : Microsoft.Office.Server (dans Microsoft.Office.Server.dll)
Syntaxe
'Déclaration
Public Shared Function ListHasItemsOfContentTypeId ( _
list As SPList, _
strContentTypeId As String, _
folder As SPFolder, _
fRecursive As Boolean _
) As Boolean
'Utilisation
Dim list As SPList
Dim strContentTypeId As String
Dim folder As SPFolder
Dim fRecursive As Boolean
Dim returnValue As Boolean
returnValue = ContentIterator.ListHasItemsOfContentTypeId(list, _
strContentTypeId, folder, fRecursive)
public static bool ListHasItemsOfContentTypeId(
SPList list,
string strContentTypeId,
SPFolder folder,
bool fRecursive
)
Paramètres
- list
Type : Microsoft.SharePoint.SPList
- strContentTypeId
Type : System.String
- folder
Type : Microsoft.SharePoint.SPFolder
- fRecursive
Type : System.Boolean
Valeur renvoyée
Type : System.Boolean