System::IO::FileSystemInfo class
Contents
[
Hide
]FileSystemInfo class
The base class for FileInfo and DirectoryInfo. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class FileSystemInfo : public System::Object
Methods
Method | Description |
---|---|
virtual Delete() | Deletes the entity represented by the current object. |
virtual Finalize() | Does nothing. |
get_Attributes() | Returns the attributes of the entity represented by the current object. |
get_CreationTime() | Returns the creation time of the entity represented by the current object as local time. |
get_CreationTimeUtc() | Returns the creation time of the entity represented by the current object as UTC time. |
virtual get_Exists() | Determines if the entity referenced by the path represented by the current object exists. |
get_Extension() | Returns the extension of the file represented by the current object. |
virtual get_FullName() | Returns the full name (including path) of the entity represented by the current object. |
get_LastAccessTime() | Returns the last access time of the entity represented by the current object as local time. |
get_LastAccessTimeUtc() | Returns the last access time of the entity represented by the current object as UTC time. |
get_LastWriteTime() | Returns the last write time of the entity represented by the current object as local time. |
get_LastWriteTimeUtc() | Returns the last write time of the entity represented by the current object as UTC time. |
virtual get_Name() | Returns a name of the entity represented by the current object. |
Refresh() | Refreshes the state of the current object. |
set_Attributes(FileAttributes) | Sets the specified attributes on the entity represeted by the current object. |
set_CreationTime(DateTime) | Sets the creation time of the entity represented by the current object as local time. |
set_CreationTimeUtc(DateTime) | Sets the creation time of the entity represented by the current object as UTC time. |
set_LastAccessTime(DateTime) | Sets the last access time of the entity represented by the current object as local time. |
set_LastAccessTimeUtc(DateTime) | Sets the last access time of the entity represented by the current object as UTC time. |
set_LastWriteTime(DateTime) | Sets the last write time of the entity represented by the current object as local time. |
set_LastWriteTimeUtc(DateTime) | Sets the last write time of the entity represented by the current object as UTC time. |
See Also
- Class Object
- Namespace System::IO
- Library Aspose.TeX for C++