VRage.Game.ModAPI.Ingame.Utilities.MyIni.TryParse - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← MyIni
public bool TryParse(string content)
Attempts to parse the given content as a configuration file.
true
if the parse succeeds,false
otherwise
- string content
public bool TryParse(string content, out MyIniParseResult result)
Attempts to parse the given content as a configuration file.
true
if the parse succeeds,false
otherwise
- string content
- MyIniParseResult result
public bool TryParse(string content, string section, out MyIniParseResult result)
Attempts to parse the given content as a configuration file. OBSERVE: Use only for read-only operations. If you parse a single section and run ToString() , you will only get the parsed section, the rest will be discarded.
true
if the parse succeeds,false
otherwise
- string content
- string section
- MyIniParseResult result
public bool TryParse(string content, string section)
Attempts to parse the given content as a configuration file. OBSERVE: Use only for read-only operations. If you parse a single section and run ToString() , you will only get the parsed section, the rest will be discarded.
true
if the parse succeeds,false
otherwise