C# Class Plugins.WindowsEnvironment.WindowsExplorer

Mostrar archivo Open project: brunomlopes/ILoveLucene Class Usage Examples

Public Methods

Method Description
GetTopSelectedDirectoryFromExplorer ( ) : DirectoryInfo

Returns the selected directory from windows explorer. If the selected item is a file, returns null If there's no explorer window, returns null

GetTopSelectedFileFromExplorer ( ) : FileInfo

Returns the selected file from windows explorer. If the selected item is a directory, or if there's no explorer window, then returns null

GetTopSelectedPathFromWindowsExplorer ( ) : string

Returns the currently selected path from windows explorer. Can point into a directory, a file inside a zip file, control panel, whatever.

Private Methods

Method Description
GetForegroundWindow ( ) : IntPtr
GetWindow ( IntPtr hWnd, GetWindow_Cmd uCmd ) : IntPtr

Method Details

GetTopSelectedDirectoryFromExplorer() public static method

Returns the selected directory from windows explorer. If the selected item is a file, returns null If there's no explorer window, returns null
public static GetTopSelectedDirectoryFromExplorer ( ) : DirectoryInfo
return System.IO.DirectoryInfo

GetTopSelectedFileFromExplorer() public static method

Returns the selected file from windows explorer. If the selected item is a directory, or if there's no explorer window, then returns null
public static GetTopSelectedFileFromExplorer ( ) : FileInfo
return System.IO.FileInfo

GetTopSelectedPathFromWindowsExplorer() public static method

Returns the currently selected path from windows explorer. Can point into a directory, a file inside a zip file, control panel, whatever.
public static GetTopSelectedPathFromWindowsExplorer ( ) : string
return string