Autodesk Vault ProfessionalVault API

File Class

Autodesk.Connectivity.WebServicesAutodesk.Connectivity.WebServices

Contains information relating to a file in the Vault.

Syntax

public class File 
Public Class File 

Properties

NameDescription
CatCategory information about this file. For files in the "None" category, the FileCat object will have an ID of 0.
CheckedOutIf true, then the latest version of this file is in the checked-out state. Whenever a file is checked-out, a new version is created as a placeholder.
CkInDateThe date and time that the file was checked in. This property is only valid if CheckedOut is false.
CkOutMachThe network ID of the computer that checked out the file. This parameter is valid only if CheckedOut is true.
CkOutSpecThe path on the client's computer that the file was checked out to. This parameter is valid only if CheckedOut is true.
CkOutUserIdThe ID of the user that has the file checked out. This parameter is valid only if CheckedOut is true.
CksumThe file's checksum. This parameter is valid only if CheckedOut is false.
CloakedIf true, the logged-in user is restricted from seeing this file. The only valid data in a cloaked File is the Id and MasterId. All other data will be null or 0.
CommA comment string set by the user. If CheckedOut is true, then this property contains the comment set during checkout. If CheckedOut is false, then this property contains the comment set during check-in. Checking in a file, resets the comment for that version.
ControlledByChangeOrderIf true, the file is controlled by a change order. If false, the file is not controlled by a change order.
CreateDateTells the date and time that this version of the file was created in the Vault. For the first version of a file, this date will match CkInDate. For later versions, this value will have the time when the previous version was checked out.
CreateUserIdThe ID of the user who checked-in or uploaded this file.
CreateUserNameThe Name of the user who checked-in or uploaded this file.
DesignVisAttmtStatusThe status of a design visualization (.dwf) file.
FileClassThe classification of the file.
FileLfCycLife cycle information about this file.
FileRevRevision information about this file. For files in "NULL" revisions, the FileRev object will have an ID of 0.
FileSizeThe size, in bytes, of the file. This property is only valid if CheckedOut is false.
FileStatusTells if the file needs updating or not.
FolderIdThe ID of the parent folder.
HiddenIf true, the file should be hidden by the client.
IdA unique identifier for the file.
IsOnSiteIn a multi-site environment, this property tells if the file is on the local site. True means that the file is on the local site. False means that the file is not on the local site. This value will always be true on a single-site environment.
LockedTells if the file can be modified by the logged in user.
MasterIdA unique identifier used to group all the versions of a file. In other words, different versions of a file will have a different Id but the same MasterId.
MaxCkInVerNumThe maximum version of this file currently checked-in to the vault.
ModDateThe last modified date of the file. This value is set by the client that uploaded the file.
NameThe name of the file. This value applies to all versions of the file. 'VerName' contains the name for a specific version of a file.
VerNameThe historical name that matches this version of the file.
VerNumThe version of the file. A file that has just been added to the Vault, will have 1 as its VerNum.

Returned By

Where you get a File — members that return one.

Inheritance Hierarchy

  • System.Object
  • Autodesk.Connectivity.WebServices.File

See Also