C# 클래스 Nexus.Client.ModManagement.IniMethods

Provides methods to interact with INI files.
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
GetPrivateProfileInt32 ( string section, string key, int def, string path ) : int

Reads an INI value as an Int32.

GetPrivateProfileString ( string section, string key, string def, string path ) : string

Reads an INI value as a string.

GetPrivateProfileUInt64 ( string section, string key, System.UInt64 def, string path ) : System.UInt64

Reads an INI value as an UInt64.

WritePrivateProfileInt32 ( string section, string key, int val, string path ) : void

Writes the given Int32 value to an INI file.

WritePrivateProfileString ( string section, string key, string val, string path ) : void

Writes the given ring value to an INI file.

메소드 상세

GetPrivateProfileInt32() 공개 정적인 메소드

Reads an INI value as an Int32.
public static GetPrivateProfileInt32 ( string section, string key, int def, string path ) : int
section string The section containing the value to be read.
key string The key of the value to be read.
def int The default value to use if the key is not present in the INI file.
path string The absolute path of the INI file.
리턴 int

GetPrivateProfileString() 공개 정적인 메소드

Reads an INI value as a string.
public static GetPrivateProfileString ( string section, string key, string def, string path ) : string
section string The section containing the value to be read.
key string The key of the value to be read.
def string The default value to use if the key is not present in the INI file.
path string The absolute path of the INI file.
리턴 string

GetPrivateProfileUInt64() 공개 정적인 메소드

Reads an INI value as an UInt64.
public static GetPrivateProfileUInt64 ( string section, string key, System.UInt64 def, string path ) : System.UInt64
section string The section containing the value to be read.
key string The key of the value to be read.
def System.UInt64 The default value to use if the key is not present in the INI file.
path string The absolute path of the INI file.
리턴 System.UInt64

WritePrivateProfileInt32() 공개 정적인 메소드

Writes the given Int32 value to an INI file.
public static WritePrivateProfileInt32 ( string section, string key, int val, string path ) : void
section string The section containing the value to be written.
key string The key of the value to be written.
val int The vaue to write.
path string The absolute path of the INI file.
리턴 void

WritePrivateProfileString() 공개 정적인 메소드

Writes the given ring value to an INI file.
public static WritePrivateProfileString ( string section, string key, string val, string path ) : void
section string The section containing the value to be written.
key string The key of the value to be written.
val string The vaue to write.
path string The absolute path of the INI file.
리턴 void