Skip to content
Auto
Products

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 IFileSystemLink

Gets a container to store user’s metadata.

public virtual FileSystemLinkBag Bag { get; }

FileSystemLinkBag

Gets a value indicating whether the file/directory/file version can be read.

public virtual bool CanRead { get; }

bool

true if the file/directory/file version can be read; otherwise, false.

Gets a value indicating whether the file/directory/file version can be written.

public virtual bool CanWrite { get; }

bool

true if the file/directory/file version can be written; otherwise, false.

Gets the creation time of the file/directory/file version.

public virtual DateTime? CreationTime { get; }

DateTime?

The creation time of the file/directory/file version.

Gets a value indicating whether the file/directory/file version exists.

public virtual bool Exists { get; }

bool

true if the file/directory/file version exists; otherwise, false.

Gets a file system to which the file/directory/file version belongs.

public virtual FileSystem FileSystem { get; }

FileSystem

A FileSystem object representing file system to which the file/directory/file version belongs.

Gets the full path of the file/directory/file version.

public virtual string FullName { get; }

string

A String containing the full path of the directory/file/file version.

Gets a value indicating whether the file/directory/file version is read only.

public virtual bool IsReadOnly { get; }

bool

true if the file/directory/file version is read only; otherwise, false.

Gets the time when the current file/directory/file version was last modified.

public virtual DateTime? ModifyTime { get; }

DateTime?

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; }

string

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; }

FileSystemLinkType

A FileSystemLinkType value defines whether the link is associated with file, directory or file version.

Deletes the file/directory/file version.

public virtual void Delete()

Asynchronously deletes the file/directory/file version.

public virtual Task DeleteAsync()

Task

The task object representing the asynchronous operation.

Demands a read access to the file/directory/file version.

public virtual void DemandReadAccess()

Loads information (like Exists, ModifyTime, etc.) about file/directory if its not loaded already.

public virtual void LoadInfo()

Loads information (like Exists, ModifyTime, etc.) about file/directory if its not loaded already.

public virtual Task LoadInfoAsync()

Task

Refreshes information (like Exists, ModifyTime, etc.) about file/directory.

public virtual void RefreshInfo()

Refreshes information (like Exists, ModifyTime, etc.) about file/directory.

public virtual Task RefreshInfoAsync()

Task