BlueCielo Meridian Connection API 2012 Reference Guide | BlueCielo ECM Solutions
You are here: Namespaces > ICMeridianAPI > Connection > UpdateDocument(String, String, String, Object, Object)
UpdateDocument Method (vaultidentifier, docid, sourcefilefullpath, properties, values)
Updates the properties and/or content information of a document.
Declaration Syntax
C#Visual BasicVisual C++
public void UpdateDocument(
	string vaultidentifier,
	string docid,
	string sourcefilefullpath,
	Object properties,
	Object values
)
Public Sub UpdateDocument ( _
	vaultidentifier As String, _
	docid As String, _
	sourcefilefullpath As String, _
	properties As Object, _
	values As Object _
)
public:
void UpdateDocument(
	String^ vaultidentifier, 
	String^ docid, 
	String^ sourcefilefullpath, 
	Object^ properties, 
	Object^ values
)
Parameters
vaultidentifier (String)
The vault in which the document resides.
docid (String)
The unique identifier of the document inside the vault.
sourcefilefullpath (String)
Optional string. A local source file that provides the new document content. If no source file is provided, the document is left unchanged. The source file can also be specified as %<templatename>, where <templatename> is the internal name of the template file associated with the document type of the document.
properties (Object)
Optional variant array of property names that need to be set with values.
values (Object)
Optional variant array of values for the properties provided in the properties parameter. The length of the lists should be identical.
Remarks
The values array must be an array of variants. The document has to be checked out when updating the document content. It is not necessary to update the properties and document at the same time. You can update either the properties or the content or both. Just leave the unused parameters empty.

Assembly: ICMeridianAPI (Module: ICMeridianAPI) Version: 1.0.1.4 (1.0.1.4)