Share via


FileSystemObject Class

Definition

A base class for file system objects.

public ref class FileSystemObject abstract : Microsoft::PowerPlatform::PowerAutomate::Desktop::Actions::SDK::Types::FileSystemObjectBasicInfo
[Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.Attributes.Type(CanConvertFrom=new System.Type[] { typeof(System.String) })]
[System.ComponentModel.TypeConverter("Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.Types.FileSystemObjectTypeConverter")]
public abstract class FileSystemObject : Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.Types.FileSystemObjectBasicInfo
[<Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.Attributes.Type(CanConvertFrom=new System.Type[] { typeof(System.String) })>]
[<System.ComponentModel.TypeConverter("Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.Types.FileSystemObjectTypeConverter")>]
type FileSystemObject = class
    inherit FileSystemObjectBasicInfo
Public MustInherit Class FileSystemObject
Inherits FileSystemObjectBasicInfo
Inheritance
Derived
Attributes

Constructors

FileSystemObject()

Initializes a new instance of the FileSystemObject class.

FileSystemObject(String)

Initializes a new instance of the FileSystemObject class.

Properties

CreationTime

Gets the date the file system object was created.

Exists

Gets a value indicating whether the file system object exists.

FullName

Gets or sets the file system object's full name.

(Inherited from FileSystemObjectBasicInfo)
IsEmpty

Gets a value indicating whether the file system object is empty.

IsHidden

Gets or sets a value indicating whether the file system object is hidden.

LastModified

Gets or sets the date the file system object was last modified.

(Inherited from FileSystemObjectBasicInfo)
Name

Gets the file system object's name.

(Inherited from FileSystemObjectBasicInfo)
RootPath

Gets the file system object's root path.

Methods

ToString()

Returns a string that represents the current object.

Operators

Implicit(FileSystemObject to String)

Implicit operator for FileSystemObject.

Applies to