LoadPhotoSetPhotos

The LoadPhotoSetPhotos loads a range of photos from a photoset. This method is new in API version 1.4.

Photo[] LoadPhotoSetPhotos(
    long photoSetId,
    int startingIndex,
    int numberOfPhotos
    )

Parameters

photoSetId
64-bit identifier of the photoset which photos to return.
startingIndex
Zero-based index of the first photo to return.
numberOfPhotos
Number of photos to return.

Returns

An array of photos from the photoset.

Remarks

The LoadPhotoSetPhotos returns a subset of photoset photos as specified by the startingIndex and numberOfPhotos parameters. The returned array may have fewer photos than requested if the end of the photoset is reached.

Photo snapshots returned by this method have the following fields loaded: Id, Width, Height, Sequence, AccessDescriptor, Owner, Title, MimeType, Views, Size, Gallery, OriginalUrl, UrlCore, UrlHost, UrlToken, PageUrl, MailboxId, TextCn.

The information returned by this method is subject to access control. Certain fields of the Photo snapshots may not be returned if prohibited by photo access control settings.

See Also

Index