FolderObject Class

Definition

Represents a Folder object.

public ref class FolderObject : Microsoft::PowerPlatform::PowerAutomate::Desktop::Actions::SDK::Types::FileSystemObject, IComparable<Microsoft::PowerPlatform::PowerAutomate::Desktop::Actions::SDK::Types::FolderObject ^>
[Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.Attributes.Type(DefaultPropertyVisibility=Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.Enums.Visibility.Visible)]
[Newtonsoft.Json.JsonObject(Newtonsoft.Json.MemberSerialization.OptOut)]
public class FolderObject : Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.Types.FileSystemObject, IComparable<Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.Types.FolderObject>
[<Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.Attributes.Type(DefaultPropertyVisibility=Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.Enums.Visibility.Visible)>]
[<Newtonsoft.Json.JsonObject(Newtonsoft.Json.MemberSerialization.OptOut)>]
type FolderObject = class
    inherit FileSystemObject
    interface IComparable<FolderObject>
Public Class FolderObject
Inherits FileSystemObject
Implements IComparable(Of FolderObject)
Inheritance
Attributes
TypeAttribute Newtonsoft.Json.JsonObjectAttribute
Implements

Constructors

FolderObject()

Initializes a new instance of the FolderObject class.

FolderObject(String)

Initializes a new instance of the FolderObject class.

Properties

CreationTime

Gets the date the folder was created.

Exists

Gets a value indicating whether the folder exists.

FilesCount

Gets the number of files the folder contains.

FoldersCount

Gets the number of folders the folder contains.

FullName

Gets or sets the folder's full name.

IsEmpty

Gets a value indicating whether the folder is empty.

IsHidden

Gets or sets a value indicating whether the folder is hidden.

LastModified

Gets or sets the date the folder was last modified.

Name

Gets the folder's name.

Parent

Gets the folder's parent folder.

RootPath

Gets the folder's root path.

Methods

CompareTo(FolderObject)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

ToString() (Inherited from FileSystemObject)

Operators

Implicit(String to FolderObject)

Implicit operator for FolderObject.

Applies to