Method GetFirstLineInt
| Improve this Doc View SourceGetFirstLineInt(ISectionsData, String)
Gets the first line of the section in integer format.
Declaration
public static int GetFirstLineInt(this ISectionsData sections, string sectionName)
Parameters
| Type | Name | Description |
|---|---|---|
| ISectionsData | sections | The data of sections. |
| String | sectionName | The name of the section to gets in a specific format. |
Returns
| Type | Description |
|---|---|
| Int32 | The first line in |
Exceptions
| Type | Condition |
|---|---|
| FormatException | If the first line is not an |
| SectionNotFoundException | If the |