C# 클래스 _3PA.Lib.IniReader

This classes reads a .ini file TODO: make it able to write the .ini as well?
파일 보기 프로젝트 열기: jcaillon/3P 1 사용 예제들

공개 메소드들

메소드 설명
GetValue ( string key, string @default ) : string

Returns the value of given key, independently of the section (returns the first occurence found)

GetValue ( string key, string section, string @default ) : string

Returns the value of the given key, search in the given section

IniReader ( string file ) : System

Constructor, call it with the .ini to parse

메소드 상세

GetValue() 공개 메소드

Returns the value of given key, independently of the section (returns the first occurence found)
public GetValue ( string key, string @default ) : string
key string
@default string
리턴 string

GetValue() 공개 메소드

Returns the value of the given key, search in the given section
public GetValue ( string key, string section, string @default ) : string
key string
section string
@default string
리턴 string

IniReader() 공개 메소드

Constructor, call it with the .ini to parse
public IniReader ( string file ) : System
file string
리턴 System