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 25, 2018 · 19 revisions

IndexMyIni

csharp[bool](System.Boolean) TryParse([string](System.String) content)##### Summary

Attempts to parse the given content as a configuration file.

Returns

trueif the parse succeeds,falseotherwise

csharp[bool](System.Boolean) TryParse([string](System.String) content, ref [MyIniParseResult](VRage.Game.ModAPI.Ingame.Utilities.MyIniParseResult) result)##### Summary

Attempts to parse the given content as a configuration file.

Returns

trueif the parse succeeds,falseotherwise

csharp[bool](System.Boolean) TryParse([string](System.String) content, [string](System.String) section, ref [MyIniParseResult](VRage.Game.ModAPI.Ingame.Utilities.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

csharp[bool](System.Boolean) TryParse([string](System.String) content, [string](System.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