Sisk

Method

IniWriter.Write

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

Write(string, string?) #

Writes a key-value pair to the INI file.

C#
public void Write(string key, string? value)

Parameters #

key string

The key to write.

value string?

The value to write.

Write(in KeyValuePair<string, string[]>) #

Writes a key-value pair to the INI file, where the value is an array of strings.

C#
public void Write(in KeyValuePair<string, string[]> value)

Parameters #

value KeyValuePair<string, string[]>

The key-value pair to write.

Write(IniSection) #

Writes an INI section to the INI file.

C#
public void Write(IniSection section)

Parameters #

section IniSection

The section to write.

Write(IniDocument) #

Writes an INI document to the INI file.

C#
public void Write(IniDocument document)

Parameters #

document IniDocument

The document to write.

Type to search the documentation and the API reference.