Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRage.Game.ModAPI.Ingame.Utilities.MyIni.TryParse

Malware edited this page Dec 24, 2018 · 19 revisions

IndexMyIni

bool TryParse(string content)

Summary

Attempts to parse the given content as a configuration file.

Returns

trueif the parse succeeds,falseotherwise

bool TryParse(string content, ref MyIniParseResult result)

Summary

Attempts to parse the given content as a configuration file.

Returns

trueif the parse succeeds,falseotherwise

bool TryParse(string content, string section, ref MyIniParseResult result)

Summary

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.

Returns

trueif the parse succeeds,falseotherwise

bool TryParse(string content, string section)

Summary

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.

Returns

trueif the parse succeeds,falseotherwise

Clone this wiki locally