Table of Contents

Method GetSectionByIdentifier

Namespace
LMKit.Data
Assembly
LM-Kit.NET.dll

GetSectionByIdentifier(string)

Retrieves a Section object from this instance based on the specified identifier.

public Section GetSectionByIdentifier(string sectionIdentifier)

Parameters

sectionIdentifier string

The unique identifier for the section to be retrieved. This identifier is used to locate the corresponding Section within the collection.

Returns

Section

The Section that matches the given identifier. If no section is found with the specified identifier, this method throws a KeyNotFoundException exception.

Exceptions

KeyNotFoundException

Thrown when no section with the specified identifier can be found in the collection.