Get
Contents
[
Hide
]Get<TValue>(int)
public TValue Get<TValue>(int index)
Exceptions
| exception | condition |
|---|---|
| IndexOutOfRangeException | index is less than 0; index equal to or greater than Count. |
| MedicalApiException | Unable to convert element value to the specified type. |
See Also
- class ValueElement<T>
- namespace Aspose.Medical.Dicom.Elements
- assembly Aspose.Medical
Get<TValue>(Index)
public TValue Get<TValue>(Index index)
Exceptions
| exception | condition |
|---|---|
| IndexOutOfRangeException | index is less than 0; index equal to or greater than Count. |
| MedicalApiException | Unable to convert element value to target type. |
See Also
- class ValueElement<T>
- namespace Aspose.Medical.Dicom.Elements
- assembly Aspose.Medical
Get(int)
Gets the element value stored at the given position.
public T Get(int index = 0)
Return Value
The T element value.
Exceptions
| exception | condition |
|---|---|
| IndexOutOfRangeException | index is less than 0 or index is equal to or greater than Count. |
See Also
- class ValueElement<T>
- namespace Aspose.Medical.Dicom.Elements
- assembly Aspose.Medical