AddUploadedFile Method
Creates a File object based on binary data previously uploaded.
Required Permissions
FileCreateSyntax
public override File AddUploadedFile(
System.long folderId,
System.string fileName,
System.string comment,
System.DateTime lastWrite,
FileAssocParam[] associations,
BOM bom,
FileClassification fileClass,
System.bool hidden,
ByteArray uploadticket
)Public Overrides NotOverridable Function AddUploadedFile( _
ByVal folderId As System.Long, _
ByVal fileName As System.String, _
ByVal comment As System.String, _
ByVal lastWrite As System.Date, _
ByVal associations() As FileAssocParam, _
ByVal bom As BOM, _
ByVal fileClass As FileClassification, _
ByVal hidden As System.Boolean, _
ByVal uploadticket As ByteArray _
) As FileParameters
| Name | Description |
|---|---|
| folderId | The folder that the new file is being added to. |
| fileName | The name of the file as it will appear in the Vault. |
| comment | Text data to be associated with version 1 of the file. |
| lastWrite | The last time the file was modified on the client's machine. |
| associations | The associations on the file. |
| bom | A bill of materials to associate with this file. Null should be passed in if there is no BOM. |
| fileClass | The classification of the file. |
| hidden | If true, the file should be hidden by the client. |
| uploadticket | The identifier for the uploaded binary data. |
Return Value
A File object representing the Vault's view of that file.