IDatabaseAddDocument Method |
Add an existing file to the document archive, returning a new document object for the file.
Namespace:
SuperOffice.COM.Application
Assembly:
SOCRM.Interop (in SOCRM.Interop.dll) Version: 8.0.0.0
SyntaxIDocument AddDocument(
string i_FilePath,
bool i_RemoveOriginal,
int i_ContactId,
int i_PersonId,
int i_ProjectId
)
Function AddDocument (
i_FilePath As String,
i_RemoveOriginal As Boolean,
i_ContactId As Integer,
i_PersonId As Integer,
i_ProjectId As Integer
) As IDocument
Dim instance As IDatabase
Dim i_FilePath As String
Dim i_RemoveOriginal As Boolean
Dim i_ContactId As Integer
Dim i_PersonId As Integer
Dim i_ProjectId As Integer
Dim returnValue As IDocument
returnValue = instance.AddDocument(i_FilePath,
i_RemoveOriginal, i_ContactId, i_PersonId,
i_ProjectId)
IDocument^ AddDocument(
[InAttribute] String^ i_FilePath,
[InAttribute] bool i_RemoveOriginal,
[InAttribute] int i_ContactId,
[InAttribute] int i_PersonId,
[InAttribute] int i_ProjectId
)
Parameters
- i_FilePath
- Type: SystemString
- i_RemoveOriginal
- Type: SystemBoolean
- i_ContactId
- Type: SystemInt32
- i_PersonId
- Type: SystemInt32
- i_ProjectId
- Type: SystemInt32
Return Value
Type:
IDocument
See Also