C# 클래스 ZeroInstall.DesktopIntegration.Windows.PathEnv

Manages the PATH environment variable.
파일 보기 프로젝트 열기: 0install/0install-win 1 사용 예제들

공개 메소드들

메소드 설명
AddDir ( [ directory, bool machineWide ) : void

Adds a directory to the search PATH.

RemoveDir ( [ directory, bool machineWide ) : void

Removes a directory from the search PATH.

Set ( [ directories, bool machineWide ) : void

Sets the current search PATH.

비공개 메소드들

메소드 설명
Get ( bool machineWide ) : string[]

메소드 상세

AddDir() 공개 정적인 메소드

Adds a directory to the search PATH.
public static AddDir ( [ directory, bool machineWide ) : void
directory [ The directory to add to the search PATH.
machineWide bool true to use the machine-wide PATH variable; false for the per-user variant.
리턴 void

RemoveDir() 공개 정적인 메소드

Removes a directory from the search PATH.
public static RemoveDir ( [ directory, bool machineWide ) : void
directory [ The directory to remove from the search PATH.
machineWide bool true to use the machine-wide PATH variable; false for the per-user variant.
리턴 void

Set() 공개 정적인 메소드

Sets the current search PATH.
public static Set ( [ directories, bool machineWide ) : void
directories [ The individual directories to list in the search PATH.
machineWide bool true to use the machine-wide PATH variable; false for the per-user variant.
리턴 void