C# Класс ZForge.Win32.FileAssociation.AssociationManager

Provides more streamlined interface for associating a single or multiple extensions with a single program.
Показать файл Открыть проект

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

Метод Описание
Associate ( string progId ) : void

Associates an already existing program id with a list of extensions.

Associate ( string progId, string executablePath ) : void

Associates a single executable with a list of extensions.

CheckAssociation ( string progId ) : string[]

Determines of the list of extensions are associated with the specified program id.

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

Associate() публичный Метод

Associates an already existing program id with a list of extensions.
public Associate ( string progId ) : void
progId string The program id to associate extensions with.
Результат void

Associate() публичный Метод

Associates a single executable with a list of extensions.
public Associate ( string progId, string executablePath ) : void
progId string Name of program id
executablePath string Path to executable to start including arguments.
Результат void

CheckAssociation() публичный Метод

Determines of the list of extensions are associated with the specified program id.
public CheckAssociation ( string progId ) : string[]
progId string Program id to check against.
Результат string[]