FileObject Class
Namespace: bcpDevKit.Entities.Vault
Assembly: bcpDevKit.dll
Syntax
public class FileObject
Properties
| Type | Name | Description | 
|---|---|---|
| Folder | Parent Folder | |
| Name | ||
| Hidden | Use SetFileHidden(bool hidden) to set this value. | |
| Classification | Use SetFileClassification(FileClassification fileClass) to set this value. | |
| Category | ||
| AClObjects | ||
| 
 | Revisions | |
| FileType | Use SetFileType() to set this value automatically. | |
| AclBehavior | ||
| AclBehaviorSerialized | ||
| LatestRevision | Gets latest revision. | |
| LatestIteration | Get latest iteration of latest revision. | |
| LatestIterationRef | Get latest iterationref of latest revision. | 
Methods
| Type | Name | Description | 
|---|---|---|
| SetFileHidden(bool hidden) | ||
| SetFileClassification(FileClassification fileClass) | ||
| SetAsPreview(bool preview) | When true, sets Hidden to true and Classification to FileClassification.DesignVisualization. | |
| GetFileClassification() | ||
| SetFileType() | Sets FileType Property depending on file ending. | |
| AddRevisionWithIteration(string fileLocation, string label = “”) | Creates and returns a new FileRevision with a FileIteration | |
| AddRevisionWithIterationRef(long checksum, DateTime createDate, string label = “”) | Creates and returns a new FileRevision with a FileIterationRef | |
| AddAcl() | ||
| GetFolder() | Get parent Folder. | |
| OrderRevisions() | Orders revisions by their label. | |
| ShouldSerializeAclBehaviorSerialized() | Returns true if ACLBehaviour is not null. |