ArraySettingItem.GetValue<T>(String) Method

Definition

Gets the value associated with the specified property converted to the type T.

public T GetValue<T> (string propertyId);
member this.GetValue : string -> 'T
Public Function GetValue(Of T) (propertyId As String) As T

Type Parameters

T

The type of the property to be retrieved.

Parameters

propertyId
String

The identifier of the property to get.

Returns

T

The value associated with the specified propery converted to the type T.

Exceptions

If T is not a supported type of ArraySettingItemProperty<T>.

The property identifier does not exist in the ArraySettingItem.

The conversion of the value to T is not supported.

The value is not in a format recognized by InvariantCulture for T.

The value represents a number that is out of the range of T.

Applies to