PublishingSite.SiteCollectionImagesLibrary Property
Gets the Site Collection Images library.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public ReadOnly Property SiteCollectionImagesLibrary As SPDocumentLibrary
Get
'Usage
Dim instance As PublishingSite
Dim value As SPDocumentLibrary
value = instance.SiteCollectionImagesLibrary
public SPDocumentLibrary SiteCollectionImagesLibrary { get; }
Property Value
Type: Microsoft.SharePoint.SPDocumentLibrary
Exceptions
Exception | Condition |
---|---|
InvalidPublishingWebException | The site is not valid. The %1 document library is missing. |