C# 클래스 ZForge.Win32.FileAssociation.AssociationManager

Provides more streamlined interface for associating a single or multiple extensions with a single program.
파일 보기 프로젝트 열기: zhuangyy/Motion

공개 메소드들

메소드 설명
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[]