ProjectFile Class |
Namespace: Sdl.ProjectAutomation.Core
The ProjectFile type exposes the following members.
Name | Description | |
---|---|---|
ProjectFile | Initializes a new instance of the ProjectFile class |
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
AnalysisStatistics |
Gets the analysis statistics for this file. Returns null if this is not a translatable file.
For source-language files, returns the word count statistics only. For target-language files, returns the full
translation provider analysis statistics. Note that you need to run the AnalyzeFiles
or WordCount tasks to generate these statistics.
| |
BilingualReferenceFileLocalPath |
Gets the path of the bilingual reference file associated with this file (Previously translated version of the file).
Thi is required for Perfect Match operations.
| |
CheckedOutAt |
The date the file was checked or null if not checked out when shared on a project server
| |
CheckedOutTo |
The user that the file is checked out to if shared on a project server
| |
ConfirmationStatistics |
Gets the confirmation statistics for this file. Returns null if this is not a translatable file.
Note that you need to run the TranslationCount task to
generate these statistics.
| |
CurrentServerVersion |
The version of this file stored in the local file system
| |
FileTypeId |
Gets the File Type Identifier of the file type that will be used to process this file.
This is only relevant for translatable files (where Role equals Translatable)
and is set by the Scan task (see Scan.
| |
Folder |
Gets the logical project folder in which this file resides.
| |
Id |
Gets the unique ID of the file.
| |
IsCheckedOut |
Set to true when the file has been checked out for editing by any user when shared on a project server
| |
IsCheckedOutToAnotherUser |
Set to true when the file has been checked out by any user other than the current user when shared on a project server
| |
IsCheckedOutToMe |
Set to true if the file is checked out to the currently logged in user when shared on a project server
| |
IsSource |
Gets whether this file is a source language or target language file.
| |
Language |
Gets the project language with which this file is associated.
| |
LatestServerVersion |
The latest version of this file that is stored on the project server
| |
LocalFilePath |
Returns the local file path where this file resides.
| |
LocalFileState |
The status of the local file in relation to the file stored on a project server
| |
Name |
Gets the file name of the current version of this file.
| |
ProjectId |
Gets the unique ID of the project to which the file belongs.
| |
Role |
Gets the file role, which indicates how the file should be treated in the project.
| |
SourceFile |
If this is a target language file, gets the corresponding source language file.
Returns null | |
TargetFiles |
If this is a source language file, returns all the corresponding target language files.
Returns null for target language files.
|