Class OTZIni
Inheritance
System.Object
OTZIni
アセンブリ: OTZControls.dll
Syntax
コンストラクタ
OTZIni()
宣言
プロパティ
Sections
宣言
public Dictionary<string, Dictionary<string, string>> Sections { get; set; }
プロパティ値
型 |
説明 |
System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.Dictionary<System.String, System.String>> |
|
メソッド
Clear()
宣言
public virtual void Clear()
Get(String, String, Int32, Int32, Int32)
宣言
public virtual int Get(string sectionName, string entryName, int minValue, int maxValue, int defaultValue)
パラメーター
型 |
名前 |
説明 |
System.String |
sectionName |
|
System.String |
entryName |
|
System.Int32 |
minValue |
|
System.Int32 |
maxValue |
|
System.Int32 |
defaultValue |
|
戻り値
例外
型 |
Condition |
System.ArgumentNullException |
|
System.ArgumentException |
|
Get(String, String, String)
宣言
public string Get(string sectionName, string entryName, string defaultValue)
パラメーター
型 |
名前 |
説明 |
System.String |
sectionName |
|
System.String |
entryName |
|
System.String |
defaultValue |
|
戻り値
Get<T>(String, String, T)
宣言
public T Get<T>(string sectionName, string entryName, T defaultValue)
where T : struct
パラメーター
型 |
名前 |
説明 |
System.String |
sectionName |
|
System.String |
entryName |
|
T |
defaultValue |
|
戻り値
Type Parameters
Load(String, Encoding)
宣言
public void Load(string filePath, Encoding encoding)
パラメーター
型 |
名前 |
説明 |
System.String |
filePath |
|
System.Text.Encoding |
encoding |
|
Save(String, Encoding, String)
宣言
public void Save(string filePath, Encoding encoding, string newLineCode)
パラメーター
型 |
名前 |
説明 |
System.String |
filePath |
|
System.Text.Encoding |
encoding |
|
System.String |
newLineCode |
|
Set<T>(String, String, T)
宣言
public void Set<T>(string sectionName, string entryName, T value)
パラメーター
型 |
名前 |
説明 |
System.String |
sectionName |
|
System.String |
entryName |
|
T |
value |
|
Type Parameters