IniFile.DeleteSection Method

IniFileIO

IniFileDeleteSection Method

IniFileIO Documentation
Deletes the section with the specified name.

Namespace:  IniFileIO
Assembly:  IniFileIO (in IniFileIO.dll) Version: 1.4.0.6028 (1.4.0.06028)
Syntax

public bool DeleteSection(
	string name
)
Public Function DeleteSection ( 
	name As String
) As Boolean
public:
bool DeleteSection(
	String^ name
)
member DeleteSection : 
        name : string -> bool 

Parameters

name
Type: SystemString
Name of the target section to delete.

Return Value

Type: Boolean
Whether or not the section was deleted.
Remarks

In the event of multiple sections matching name, only the first occurrance is deleted.
See Also

Reference