AddUploadedFileWithBehaviors Method
Creates a File object with Behaviors based on binary data previously uploaded.
Required Permissions
FileCreateSyntax
public override File AddUploadedFileWithBehaviors(
System.long folderId,
System.string fileName,
System.string comment,
System.DateTime lastWrite,
FileAssocParam[] associations,
BOM bom,
FileClassification fileClass,
System.bool hidden,
ByteArray uploadticket,
System.long copyBehaviorsFromFileMasterId
)Public Overrides NotOverridable Function AddUploadedFileWithBehaviors( _
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, _
ByVal copyBehaviorsFromFileMasterId As System.Long _
) As FileParameters
| Name | Description |
|---|---|
| folderId | The Folder that the 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 had been modified. |
| 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. |
| copyBehaviorsFromFileMasterId | The Master ID of the file that the new file will copy its Behaviors from. |
Return Value
A File object representing the file in the Vault.