Метод Web.GetCatalog
Returns the list template gallery, site template gallery, or Web Part gallery for the site.
Пространство имен: Microsoft.SharePoint.Client
Сборки: Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)
Синтаксис
'Декларация
Public Function GetCatalog ( _
typeCatalog As Integer _
) As List
'Применение
Dim instance As Web
Dim typeCatalog As Integer
Dim returnValue As List
returnValue = instance.GetCatalog(typeCatalog)
public List GetCatalog(
int typeCatalog
)
Параметры
typeCatalog
Тип: System.Int32Specifies the type for the gallery.
Возвращаемое значение
Тип: Microsoft.SharePoint.Client.List
Returns List.
Замечания
The server must return пустая ссылка (Nothing в Visual Basic) if there is no gallery with the specified type or typeCatalog is not a valid ListTemplateType enumeration value.