protected IDocument CopyRemoteDocument(IFolder folder, IDocument source, string name) { Dictionary <string, object> properties = new Dictionary <string, object>(); properties.Add(PropertyIds.Name, name); properties.Add(PropertyIds.ObjectTypeId, "cmis:document"); return(folder.CreateDocumentFromSource(source, properties, null)); }
public IDocument CopyDocument(IFolder folder, IDocument source, string name) { Dictionary<string, object> properties = new Dictionary<string, object>(); properties.Add(PropertyIds.Name, name); properties.Add(PropertyIds.ObjectTypeId, "cmis:document"); return folder.CreateDocumentFromSource(source, properties, null); }