SPPictureLibrary class

Represents a document library that contains pictures.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

No code example is currently available or this language may not be supported.

To obtain an SPPictureLibrary object, cast the given list as a picture library, as shown in the following example.

No code example is currently available or this language may not be supported.
Caution noteCaution

Changing the values of any of the properties of SPPictureLibrary may lead to adverse effects in the user interface and is not supported.

The following code example displays property settings for the size of images used in a picture library on the specified site.

No code example is currently available or this language may not be supported.
NoteNote

Certain objects implement the IDisposable interface, and you must avoid retaining these objects in memory after they are no longer needed. For information about good coding practices, see Disposing Objects.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: