From 7a686bddae69ef7b44af8365f91d85cc50bf449e Mon Sep 17 00:00:00 2001 From: dahall Date: Thu, 6 Aug 2020 12:54:38 -0600 Subject: [PATCH] Added ShellFolder.IShellFolder property to expose underlying COM interface. --- Windows.Shell/ShellObjects/ShellFolder.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Windows.Shell/ShellObjects/ShellFolder.cs b/Windows.Shell/ShellObjects/ShellFolder.cs index 13c7b555..e178d075 100644 --- a/Windows.Shell/ShellObjects/ShellFolder.cs +++ b/Windows.Shell/ShellObjects/ShellFolder.cs @@ -128,6 +128,10 @@ namespace Vanara.Windows.Shell } } + /// Gets the underlying instance. + /// The underlying instance. + public IShellFolder IShellFolder => iShellFolder; + /// /// Retrieves a handler, typically the Shell folder object that implements IShellFolder for a particular item. Optional parameters /// that control the construction of the handler are passed in the bind context.