C# Класс CygwinContextMenu.FileShellExtension

Register and unregister simple shell context menus.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
IsRegistered ( string fileType, string shellKeyName, bool userOnly ) : bool
Register ( string fileType, string shellKeyName, string menuText, string menuCommand, bool userOnly, bool makeExtended = false ) : void

Register a simple shell context menu.

Unregister ( string fileType, string shellKeyName, bool userOnly ) : void

Unregister a simple shell context menu.

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

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

public static IsRegistered ( string fileType, string shellKeyName, bool userOnly ) : bool
fileType string
shellKeyName string
userOnly bool
Результат bool

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

Register a simple shell context menu.
public static Register ( string fileType, string shellKeyName, string menuText, string menuCommand, bool userOnly, bool makeExtended = false ) : void
fileType string The file type to register.
shellKeyName string Name that appears in the registry.
menuText string Text that appears in the context menu.
menuCommand string Command line that is executed.
userOnly bool
makeExtended bool True means it will only show when CTRL key is down.
Результат void

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

Unregister a simple shell context menu.
public static Unregister ( string fileType, string shellKeyName, bool userOnly ) : void
fileType string The file type to unregister.
shellKeyName string Name that was registered in the registry.
userOnly bool
Результат void