Table of Contents

Method GetValue

Namespace
Skyline.DataMiner.Net.Sections
Assembly
SLNetTypes.dll

GetValue<T>(Section, FieldDescriptorID)

Returns the ValueWrapper<T> for the specified fieldDescriptorID.

public static ValueWrapper<T> GetValue<T>(this Section section, FieldDescriptorID fieldDescriptorID)

Parameters

section Section

The section that holds the field.

fieldDescriptorID FieldDescriptorID

The field descriptor ID of the field to retrieve.

Returns

ValueWrapper<T>

The value or null if the field was not found.

Type Parameters

T

The type to use for the returned ValueWrapper<T> instance.

Exceptions

ArgumentNullException

section or fieldDescriptorID is null.