Autodesk Vault ProfessionalVault API

GetFileByVersion Method

Autodesk.Connectivity.WebServicesDocumentService

Gets data on a specific version of a file in the Vault.

Required Permissions

FileRead

Syntax

public File GetFileByVersion(
   System.long fileMasterId,
   System.int versionNumber
)
Public Function GetFileByVersion( _
   ByVal fileMasterId As System.Long, _
   ByVal versionNumber As System.Integer _
) As File

Parameters

NameDescription
fileMasterIdThe master ID of the file.
versionNumberThe version of the file.

Return Value

A File object matching the data specified.

See Also