The BasicFileInfo type exposes the following members.

Methods

  NameDescription
Public methodDispose
Releases all resources used by the BasicFileInfo
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberExtract
Returns an instance of BasicFileInfo filled with basic information about a Revit file located at the given file-path
Public methodGetDocumentVersion
Gets the DocumentVersion for the file.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAllLocalChangesSavedToCentral
Are all local changes saved to the central file?
Public propertyCentralPath
Returns the central model path.
Public propertyFormat
The file format indicator (currently, the major release version such as "2019") used for saving the file.
Public propertyIsCentral
Checks if the file is workshared and Central.
Public propertyIsCreatedLocal
Checks if the file is local and created by RevitServerTool.exe.
Public propertyIsInProgress
Checks if the file is workshared and is in process of becoming Central.
Public propertyIsLocal
Checks if the file is workshared and Local.
Public propertyIsSavedInCurrentVersion
Checks if the file is saved in the current version.
Public propertyIsSavedInLaterVersion
Checks if the file is saved in a later version of Revit than the running Revit.
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public propertyIsWorkshared
Checks if the file is workshared.
Public propertyLanguageWhenSaved
Return the language active for the last save
Public propertyLatestCentralEpisodeGUID
This is the central model's episode GUID corresponding to the last reload latest done for this model.
Public propertyLatestCentralVersion
This is the central model's version number corresponding to the last reload latest done for this model.
Public propertyUsername
Returns the username.

See Also