Click or drag to resize

DatabaseClassAddDocument Method

Add an existing file to the document archive, returning a new document object for the file.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
public virtual SODocument AddDocument(
	string i_FilePath,
	bool i_RemoveOriginal,
	int i_ContactId = 0,
	int i_PersonId = 0,
	int i_ProjectId = 0
)

Parameters

i_FilePath
Type: SystemString
i_RemoveOriginal
Type: SystemBoolean
i_ContactId (Optional)
Type: SystemInt32
i_PersonId (Optional)
Type: SystemInt32
i_ProjectId (Optional)
Type: SystemInt32

Return Value

Type: SODocument

Implements

IDatabaseAddDocument(String, Boolean, Int32, Int32, Int32)
See Also