CloneOrCreateDocument(IExecutionContext, IDocument, NormalizedPath, NormalizedPath, IEnumerable<KeyValuePair<string, object>>, Stream, string) Method

Syntax

public static IDocument CloneOrCreateDocument(this IExecutionContext context, IDocument document, in NormalizedPath source, in NormalizedPath destination, IEnumerable<KeyValuePair<string, object>> items, Stream stream, string mediaType = null)

Parameters

Name Type Description
context IExecutionContext
document IDocument
source NormalizedPath
destination NormalizedPath
items IEnumerable<KeyValuePair<string, object>>
stream Stream
mediaType string

Return Value

Type Description
IDocument