BlueCielo Meridian Enterprise 2012 VBScript API Reference | BlueCielo ECM Solutions

You are here: Understanding the Meridian object model > About the Document object > The Document object methods > CopyProperties method

CopyProperties method

Copies all of the property values of the current document to a specified document except for an optional array of property names.

Syntax
CopyProperties(PropertySetName As String, TargetDocument As Document, [ExcludeProperties] As String)
Parameters

Name

Description

PropertySetName

Name of the property set to copy.

TargetDocument

Document object to which to copy the properties.

ExcludeProperties

Optional one dimension array of a property names to exclude from copying.

Remarks

The following example copies all properties in the property set MyPropSet to the specified document object except for the properties named Prop1 and Prop2.

Document.CopyProperties "MyPropSet", Document, Array("Prop1", "Prop2")

Related concepts

About the Document object


Copyright © 2000-2012 BlueCielo ECM Solutions

www.bluecieloecm.com