FileDescription Class
Represents a container for file description.
Inheritance Hierarchy

Namespace: GroupDocs.Viewer.Domain
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.6
Syntax
public class FileDescription

The FileDescription type exposes the following members.

Constructors
  NameDescription
Public methodFileDescription(String)
Initializes a new instance of the FileDescription class. IsDirectory flag will be set to false.
Public methodFileDescription(String, Boolean)
Initializes a new instance of the FileDescription class. IsDirectory flag will be set to false.
Public methodFileDescription(String, String)
Initializes a new instance of the FileDescription class. IsDirectory flag will be set to false.
Public methodFileDescription(String, String, Boolean)
Initializes a new instance of the FileDescription class.
Properties
  NameDescription
Public propertyCode exampleExtension
Gets the file extension.
Public propertyCode exampleFileFormat
Gets the file format e.g. "Microsoft Word".
Public propertyGuid
The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt, relative path e.g document.txt, url e.g. http://site.com/document.txt
Public propertyCode exampleIsDirectory
Indicates whether file or folder.
Public propertyCode exampleLastModificationDate
The last modification date.
Public propertyCode exampleName
The file name.
Public propertyCode exampleSize
The size of the document in bytes.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also