Web.GetCatalog - Méthode
Returns the list template gallery, site template gallery, or Web Part gallery for the site.
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 Web
Dim typeCatalog As Integer
Dim returnValue As List
returnValue = instance.GetCatalog(typeCatalog)
public List GetCatalog(
int typeCatalog
)
Paramètres
typeCatalog
Type : System.Int32Specifies the type for the gallery.
Valeur renvoyée
Type : Microsoft.SharePoint.Client.List
Returns List.
Remarques
The server must return une référence Null (Rien dans Visual Basic) if there is no gallery with the specified type or typeCatalog is not a valid ListTemplateType enumeration value.