Try our conversational search powered by Generative AI!

Interface IContentCopyHandler

Namespace: EPiServer.Core.Transfer
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IContentCopyHandler

Methods

Copy(ContentReference, ContentReference, AccessLevel, Boolean)

Copy content to another container syncronously.

Declaration
ContentReference Copy(ContentReference contentLink, ContentReference destinationLink, AccessLevel requiredSourceAccess, bool publishOnDestination)
Parameters
Type Name Description
ContentReference contentLink

The link to the content data to copy.

ContentReference destinationLink

The container where the content data will be copied.

AccessLevel requiredSourceAccess

The required source access to check access against

System.Boolean publishOnDestination

If the new content data should be published on the destination.

Returns
Type Description
ContentReference

Extension Methods