SiteImageRenditions.GetRenditions method
Returns the [Microsoft.SharePoint.Client.Publishing.ImageRendition] 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 Function GetRenditions ( _
context As ClientRuntimeContext _
) As IList(Of ImageRendition)
'Usage
Dim context As ClientRuntimeContext
Dim returnValue As IList(Of ImageRendition)
returnValue = SiteImageRenditions.GetRenditions(context)
public static IList<ImageRendition> GetRenditions(
ClientRuntimeContext context
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
Return value
Type: System.Collections.Generic.IList<ImageRendition>
The ImageRendition for the context site collection.
Remarks
If no image renditions exist for the site collection, it must return an empty array.