Site.GetCatalog - Méthode
Specifies the list template gallery, site template gallery, Web Part gallery, master page gallery, or other galleries from the site collection, including custom galleries that are defined by users.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Function GetCatalog ( _
typeCatalog As Integer _
) As List
'Utilisation
Dim instance As Site
Dim typeCatalog As Integer
Dim returnValue As List
returnValue = instance.GetCatalog(typeCatalog)
public List GetCatalog(
int typeCatalog
)
Paramètres
typeCatalog
Type : System.Int32Specifies the list template type for the gallery.
Valeur renvoyée
Type : Microsoft.SharePoint.Client.List
Returns a List instance representing the list template type for the gallery.
Remarques
This method requires permissions to the top-level site of the site collection, which is where the galleries are located.