IFileSystemLink
Namespace: TagBites.IO
Assembly: TagBites.IO.dll
Product: TagBites.IO v. 2.0.0
Provides a mechanism for linking to the file/directory/file version.
public interface IFileSystemLinkProperties
Section titled “Properties”Gets a container to store user’s metadata.
public virtual FileSystemLinkBag Bag { get; }Property Value
Section titled “Property Value”CanRead
Section titled “CanRead”Gets a value indicating whether the file/directory/file version can be read.
public virtual bool CanRead { get; }Property Value
Section titled “Property Value”true if the file/directory/file version can be read; otherwise, false.
CanWrite
Section titled “CanWrite”Gets a value indicating whether the file/directory/file version can be written.
public virtual bool CanWrite { get; }Property Value
Section titled “Property Value”true if the file/directory/file version can be written; otherwise, false.
CreationTime
Section titled “CreationTime”Gets the creation time of the file/directory/file version.
public virtual DateTime? CreationTime { get; }Property Value
Section titled “Property Value”The creation time of the file/directory/file version.
Exists
Section titled “Exists”Gets a value indicating whether the file/directory/file version exists.
public virtual bool Exists { get; }Property Value
Section titled “Property Value”true if the file/directory/file version exists; otherwise, false.
FileSystem
Section titled “FileSystem”Gets a file system to which the file/directory/file version belongs.
public virtual FileSystem FileSystem { get; }Property Value
Section titled “Property Value”A FileSystem object representing file system to which the file/directory/file version belongs.
FullName
Section titled “FullName”Gets the full path of the file/directory/file version.
public virtual string FullName { get; }Property Value
Section titled “Property Value”A String containing the full path of the directory/file/file version.
IsReadOnly
Section titled “IsReadOnly”Gets a value indicating whether the file/directory/file version is read only.
public virtual bool IsReadOnly { get; }Property Value
Section titled “Property Value”true if the file/directory/file version is read only; otherwise, false.
ModifyTime
Section titled “ModifyTime”Gets the time when the current file/directory/file version was last modified.
public virtual DateTime? ModifyTime { get; }Property Value
Section titled “Property Value”The time the current file/directory/file version was last modified.
For files, gets the name of the file/file version. For directories, gets the name of the last directory in the hierarchy if a hierarchy exists. Otherwise, the Name property gets the name of the directory.
public virtual string Name { get; }Property Value
Section titled “Property Value”A String that is the name of the parent directory, the name of the last directory in the hierarchy, or the name of a file/file version, including the file name extension.
Gets the type of file system link.
public virtual FileSystemLinkType Type { get; }Property Value
Section titled “Property Value”A FileSystemLinkType value defines whether the link is associated with file, directory or file version.
Methods
Section titled “Methods”Delete()
Section titled “Delete()”Deletes the file/directory/file version.
public virtual void Delete()DeleteAsync()
Section titled “DeleteAsync()”Asynchronously deletes the file/directory/file version.
public virtual Task DeleteAsync()Returns
Section titled “Returns”The task object representing the asynchronous operation.
DemandReadAccess()
Section titled “DemandReadAccess()”Demands a read access to the file/directory/file version.
public virtual void DemandReadAccess()LoadInfo()
Section titled “LoadInfo()”Loads information (like Exists, ModifyTime, etc.) about file/directory if its not loaded already.
public virtual void LoadInfo()LoadInfoAsync()
Section titled “LoadInfoAsync()”Loads information (like Exists, ModifyTime, etc.) about file/directory if its not loaded already.
public virtual Task LoadInfoAsync()Returns
Section titled “Returns”RefreshInfo()
Section titled “RefreshInfo()”Refreshes information (like Exists, ModifyTime, etc.) about file/directory.
public virtual void RefreshInfo()RefreshInfoAsync()
Section titled “RefreshInfoAsync()”Refreshes information (like Exists, ModifyTime, etc.) about file/directory.
public virtual Task RefreshInfoAsync()