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
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
renditions
Type: System.Collections.Generic.IList<ImageRendition>An array of ImageRendition objects to be set as the image renditions for the site collection.
Remarks
The renditions parameter must not be a null reference (Nothing in Visual Basic).