AddFileWithBehaviors(Folder,String,FileAssocParam[],BOM,FileClassification,Boolean,FileIteration,FilePathAbsolute) Method
Adds a file to vault and associates it with a set of behaviors.
Syntax
FileIteration AddFileWithBehaviors(
Folder parent,
System.string comment,
FileAssocParam[] associations,
BOM bom,
FileClassification classification,
System.bool hidden,
FileIteration copyBehaviorsFromFile,
FilePathAbsolute localPathWithFileName
)Overloads Function AddFileWithBehaviors( _
ByVal parent As Folder, _
ByVal comment As System.String, _
ByVal associations() As FileAssocParam, _
ByVal bom As BOM, _
ByVal classification As FileClassification, _
ByVal hidden As System.Boolean, _
ByVal copyBehaviorsFromFile As FileIteration, _
ByVal localPathWithFileName As FilePathAbsolute _
) As FileIterationParameters
| Name | Description |
|---|---|
| parent | The parent folder to add the file to |
| comment | Text data to be associated with version 1 of the file |
| associations | |
| bom | A bill of materials to associate with this file. Null should be passed in if there is no BOM. |
| classification | The classification of the file. |
| hidden | If true, the file should be hidden by the client. |
| copyBehaviorsFromFile | The file that the new file will copy its Behaviors from. |
| localPathWithFileName | The full local path of the file including the file's name |
Return Value
A FileIteration object of the newly added file.