Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

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

Morten Aune Lyrstad edited this page Oct 10, 2019 · 18 revisions

IndexNamespace IndexMyIni

Summary

public bool TryParse(string content)

Attempts to parse the given content as a configuration file.

Returns

bool

trueif the parse succeeds,falseotherwise

Parameters

Summary

public bool TryParse(string content, out MyIniParseResult result)

Attempts to parse the given content as a configuration file.

Returns

bool

trueif the parse succeeds,falseotherwise

Parameters

Summary

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.

Returns

bool

trueif the parse succeeds,falseotherwise

Parameters

Summary

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.

Returns

bool

trueif the parse succeeds,falseotherwise

Parameters

Clone this wiki locally