Sisk

Method

IniDocument.GetEntry

Namespace
Sisk.IniConfiguration.Core
Assembly
Sisk.IniConfiguration.Core.dll

GetEntry(string, StringComparison) #

Retrieves the values of a specific entry in the INI document.

C#
public string[] GetEntry(string name, StringComparison stringComparison = StringComparison.OrdinalIgnoreCase)

Parameters #

name string

The name of the entry to retrieve.

stringComparison StringComparison

The 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.

Type to search the documentation and the API reference.