private GetPrivateProfileString ( string section, string key, string def, StringBuilder retVal, int size, string filePath ) : int | ||
section | string | |
key | string | |
def | string | |
retVal | StringBuilder | |
size | int | |
filePath | string | |
리턴 | int |
public String ReadValue(String Section, String Key) { StringBuilder retVal = new StringBuilder((Int32)Byte.MaxValue); IniFile.GetPrivateProfileString(Section, Key, "", retVal, (Int32)Byte.MaxValue, this.path); return(retVal.ToString()); }
public string IniReadValue(string Section, string Key) { StringBuilder stringBuilder = new StringBuilder(255); IniFile.GetPrivateProfileString(Section, Key, "", stringBuilder, 255, path); return(stringBuilder.ToString()); }