-
Notifications
You must be signed in to change notification settings - Fork 123
VRage.Game.ModAPI.Ingame.Utilities.MyIni.TryParse
← 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
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!