Method GetValue
GetValue<T>(Section, FieldDescriptorID)
Returns the ValueWrapper<T> for the specified fieldDescriptorID.
public static ValueWrapper<T> GetValue<T>(this Section section, FieldDescriptorID fieldDescriptorID)
Parameters
sectionSectionThe section that holds the field.
fieldDescriptorIDFieldDescriptorIDThe field descriptor ID of the field to retrieve.
Returns
- ValueWrapper<T>
The value or null if the field was not found.
Type Parameters
TThe type to use for the returned ValueWrapper<T> instance.
Exceptions
- ArgumentNullException
sectionorfieldDescriptorIDis null.