The following tables list the members exposed by the File type.

Name Description
Public method Static AttachCustomFileAttribute(ServerID, EntityID, EntityID, IDatabase) Attach a custom file attribute to a file
Public method Static CheckInFile(EntityID, IDatabase) Check a file back in
Public method Static CheckoutFile(EntityID, EntityID, string, IDatabase) Check out a file
Public method Static DeleteSystemFileAttribute(EntityID, EntityID, IDatabase) Delete a system file attribute
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method Static FindAttributesByName(string, IDatabase) Find file change attributes by name
Public method Static FlattenAttributes(EntityID, bool, IDatabase, EntityAttributeCache) For a particular file, 'flatten' the hierarchical attributes down to a flat list
Public method Static GetActiveCheckout(EntityID, IDatabase) Get the active check out state for a file
Public method Static GetActiveCheckoutInfoForFileList(HashSet<EntityID>, IDatabase) Get the active check out state for a file
Public method Static GetActiveUserCheckouts(EntityID, IDatabase) Get information about all files checked out by a user
Public method Static GetAllGroupAccess(EntityID, IDatabase) Get information about all groups who can access a file (at the file level only)
Public method Static GetAllRoleAccess(EntityID, IDatabase) Get information about all roles thatcan access a file
Public method Static GetAllUserAccess(EntityID, IDatabase) Get information about all users who can access a file (at the file level only)
Public method Static GetAttachedFileAttributes(string, EntityID, EntityID, IDatabase) Given a file name and a folder, work out what attributes should be / are attached to it
Public method Static GetBasicFileInfoList(HashSet<EntityID>, IDatabase) Get the information about list of files
Public method Static GetCurrentVersionNumber(EntityID, IDatabase) Get information about the current version of a file
Public method Static GetCustomFileAttributes(EntityID, IDatabase) Get any custom file attribute info (without values)
Public method Static GetFileFolder(EntityID, IDatabase) Get the id of the folder housing a file
Public method Static GetFileHistory(EntityID, bool, IDatabase) Get the file history of a file
Public method Static GetFileID(string, EntityID, IDatabase) Get a file id from a folder, based on its name
Public method Static GetFileInfo(EntityID, bool, IDatabase) Get the latest information about a file
Public method Static GetFileInfo(EntityID, int, bool, IDatabase) Get the information about a particular file version
Public method Static GetFileInfo(EntityID, int, bool, bool, IDatabase) Get the information about a particular file version
Public method Static GetFileName(EntityID, IDatabase) Get the file name of a given file
Public method Static GetFileProject(EntityID, IDatabase) Given a file id, work out what project its in
Public method Static GetGroupAccess(EntityID, EntityID, IDatabase) Get group access to a file
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method Static GetLinkedFileSource(EntityID, IDatabase) Get the source for a linked file
Public method Static GetLinkedFileSourcePath(EntityID, IDatabase) Get the path to the source for a linked file
Public method Static GetStandardFlatSearchAttributes(IDatabase) Get the standard set of file flat search attributes
Public method Static GetStandardSearchAttributes(IDatabase) Get the standard set of file search attributes
Public method Static GetSystemFileAttribute(bool, string, bool, IDatabase) Get the required system attributes for a file
Public method Static GetSystemFileAttributeExtensions(EntityID, IDatabase) Given an attribute id, find all the extensions that are set for it
Public method Static GetSystemFileAttributesAndExtensions(IDatabase) Get all system file attributes and their extensions
Public method GetType Gets the Type of the current instance. (inherited from Object).
Public method Static GetUpdatedFiles(Dictionary<EntityIDInt32>, IDatabase) Get any files which have been updated since a particular version for each
Public method Static GetUserAccess(EntityID, EntityID, IDatabase) Get the access available to a user for a given file
Public method Static GetUserAccess(EntityID, EntityID, bool, IDatabase) Get the access available to a user for a given file
Public method Static GetUserAccess(EntityID, EntityID, bool, List<EntityID>, List<EntityID>, IDatabase) Get the access available to a user for a given file
Public method Static GetUserCheckouts(EntityID, IDatabase) Get all check outs for a user
Public method Static GetUserFolderCheckouts(EntityID, EntityID, IDatabase) Get all user folder checkouts
Public method Static GetUserProjectCheckouts(EntityID, EntityID, bool, IDatabase) For a particular user, get all the files they have checked out in a given project
Public method Static HasBeenLinkedTo(EntityID, IDatabase) Has this file been linked to?
Public method Static HasFileBeenIssued(EntityID, IDatabase) Has a file been issued?
Public method Static IsLinkedFile(EntityID, IDatabase) Is this file a linked file?
Public method Static MarkAsModified(EntityID, IDatabase) Mark a file as modified
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method Static PerformAddFile(string, EntityID, EntityID, string, FileChangeData, DateTime, IDatabase) Add a file to the database This overload does not attach inherited attributes (i.e. system file attributes, project file attributes, folder file attributes). See the overload for that option.
Public method Static PurgeFile(EntityID, EntityID, IDatabase, IClient) Purges a file completely from the system - this is _really_ dangerous, be warned!
Public method Static RegenPreview(EntityID, int, IDatabase) Regen a preview for a specific file and version
Public method Static ReindexFile(EntityID, IDatabase) Reindex a file
Public method Static ReindexFile(EntityID, int, bool, IDatabase) Reindex a file
Public method Static ReplicateFile(FileInfo, EntityID, EntityID, IDatabase) Replicate an existing file into a new project
Public method Static SearchAndGatherFiles(SearchQuery, EntityID, EntityID, SearchLimitOption, bool, IDatabase, FileGatherer)
Public method Static SetGroupAccess(EntityID, EntityID, RoleAccessType, RoleAccessType, IDatabase) Set some user access for a group
Public method Static SetStandardFlatSearchAttributes(List<FlatSearchAttribute>, IDatabase) Set the standard set of search attributes for flat searches
Public method Static SetStandardSearchAttributes(Dictionary<EntityIDAttributeSearchContext>, IDatabase) Set the standard set of search attributes for project searches
Public method Static SetSystemFileAttribute(AttributeInfo, List<String>, EntityID, IDatabase) Set a file attribute at the system level
Public method Static SetUserAccess(EntityID, EntityID, RoleAccessType, RoleAccessType, IDatabase) Set some user access for a file
Public method ToString Returns a string that represents the current object. (inherited from Object).
Top