CloneOrCreateDocument(IExecutionContext, IDocument, string, string) Method

Syntax

public static IDocument CloneOrCreateDocument(this IExecutionContext context, IDocument document, string content, string mediaType = null)

Parameters

Name Type Description
context IExecutionContext
document IDocument
content string
mediaType string

Return Value

Type Description
IDocument