Skip to content

Miss ShellFile FromFilePath method #26

Open

Description

@lindexi
        /// <summary>
        /// Constructs a new ShellFile object given a file path
        /// </summary>
        /// <param name="path">The file or folder path</param>
        /// <returns>ShellFile object created using given file path.</returns>
        static public ShellFile FromFilePath(string path)
        {
            return new ShellFile(path);
        }

Thank you.

Activity

  1. pierresprim commented on Sep 26, 2021

    @pierresprim
    Owner

    @lindexi There is already a constructor in the ShellFile class. You can also use ShellObjectFactory.Create method overloads to create a ShellObject from a given parsing name, for example.

  2. lindexi commented on Sep 27, 2021

    @lindexi
    Author

    @pierresprim Thank you. But it is helpful when you add this method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions