C# Класс Plugins.WindowsEnvironment.WindowsExplorer

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetForegroundWindow ( ) : IntPtr
GetWindow ( IntPtr hWnd, GetWindow_Cmd uCmd ) : IntPtr

Описание методов

GetTopSelectedDirectoryFromExplorer() публичный статический Метод

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
Результат System.IO.DirectoryInfo

GetTopSelectedFileFromExplorer() публичный статический Метод

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
Результат System.IO.FileInfo

GetTopSelectedPathFromWindowsExplorer() публичный статический Метод

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
Результат string