C# 클래스 BitServer.INI

파일 보기 프로젝트 열기: AyrA/BitMailServer 1 사용 예제들

공개 메소드들

메소드 설명
RewriteINI ( string FileName, INIPart Parts ) : void

Rewrites a complete INI File. This erases Comments.

completeINI ( string FileName ) : INIPart[]
getSections ( string Filename ) : string[]
getSetting ( string FileName, string Section, string Setting ) : string
getSettings ( string Filename, string Section ) : NameValueCollection
setSetting ( string FileName, string Section, string Setting, string Value ) : void

Sets a single Value. Prevents Comments from being overwritten.

메소드 상세

RewriteINI() 공개 정적인 메소드

Rewrites a complete INI File. This erases Comments.
public static RewriteINI ( string FileName, INIPart Parts ) : void
FileName string File Name
Parts INIPart INI Sections (aka. Parts)
리턴 void

completeINI() 공개 정적인 메소드

public static completeINI ( string FileName ) : INIPart[]
FileName string
리턴 INIPart[]

getSections() 공개 정적인 메소드

public static getSections ( string Filename ) : string[]
Filename string
리턴 string[]

getSetting() 공개 정적인 메소드

public static getSetting ( string FileName, string Section, string Setting ) : string
FileName string
Section string
Setting string
리턴 string

getSettings() 공개 정적인 메소드

public static getSettings ( string Filename, string Section ) : NameValueCollection
Filename string
Section string
리턴 System.Collections.Specialized.NameValueCollection

setSetting() 공개 정적인 메소드

Sets a single Value. Prevents Comments from being overwritten.
public static setSetting ( string FileName, string Section, string Setting, string Value ) : void
FileName string File Name
Section string INI Section
Setting string INI Setting
Value string Value to set
리턴 void