Autodesk Vault ProfessionalVault API

UpdateRefsInLocalFile(FilePathAbsolute,IEnumerable<FileReference>,Identity) Method

Autodesk.DataManagement.Client.Framework.Vault.ModelsUpdateFileReferencesModel

Updates a local file's references.

Syntax

public System.Collections.Generic.IEnumerable<FileReferenceUpdateStatus> UpdateRefsInLocalFile(
   FilePathAbsolute fullPathOfFileToUpdate,
   System.Collections.Generic.IEnumerable<FileReference> references,
   FileIdentity.Identity originalFileIdentity
)
Public Overloads Function UpdateRefsInLocalFile( _
   ByVal fullPathOfFileToUpdate As FilePathAbsolute, _
   ByVal references As System.Collections.Generic.IEnumerable(Of FileReference), _
   Optional ByVal originalFileIdentity As FileIdentity.Identity _
) As System.Collections.Generic.IEnumerable(Of FileReferenceUpdateStatus)

Parameters

NameDescription
fullPathOfFileToUpdateThe local path of the file to update.
referencesThe references within the file that need updating.
originalFileIdentityThe identity of the file being updated. This includes the checksum of the file before file references udpates and the original create and modification times.

Return Value

The results of updating the file references

See Also