Share via


SiteImageRenditions.SetRenditions method

Sets the [Microsoft.SharePoint.Client.Publishing.ImageRendition] objects for the context site collection.

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

Syntax

'Declaration
Public Shared Sub SetRenditions ( _
    context As ClientRuntimeContext, _
    renditions As IList(Of ImageRendition) _
)
'Usage
Dim context As ClientRuntimeContext
Dim renditions As IList(Of ImageRendition)

SiteImageRenditions.SetRenditions(context, renditions)
public static void SetRenditions(
    ClientRuntimeContext context,
    IList<ImageRendition> renditions
)

Parameters

Remarks

The renditions parameter must not be a null reference (Nothing in Visual Basic).

See also

Reference

SiteImageRenditions class

SiteImageRenditions members

Microsoft.SharePoint.Client.Publishing namespace