ArraySettingItem.GetValue<T>(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
.