Method GetEntry
- Namespace
- Sisk.IniConfiguration.Core
- Assembly
- Sisk.IniConfiguration.Core.dll
GetEntry(string, StringComparison)
Retrieves the values of a specific entry in the INI document.
public string[] GetEntry(string name, StringComparison stringComparison = StringComparison.OrdinalIgnoreCase)
Parameters
name
stringThe name of the entry to retrieve.
stringComparison
StringComparisonThe string comparison to use when searching for the entry. Defaults to OrdinalIgnoreCase.
Returns
- string[]
An array of strings representing the values of the entry, or an empty array if the entry is not found.