TryGetValue
Contents
[
Hide
]TryGetValue<T>(int, out T)
Gets the element’s value at the specified position.
public bool TryGetValue<T>(int index, out T? value)
| Parameter | Description |
|---|---|
| T | Type of the return value. |
| index | The index of the element value to retrieve, which is either from the beginning or the end of the sequence. |
| value | When this method returns, contains the value at the specified position (index); otherwise, contains the default value for the type of the value parameter. |
Return Value
true if the element value could be extracted; otherwise, false.
See Also
- interface IElement
- namespace Aspose.Medical.Dicom.Elements
- assembly Aspose.Medical
TryGetValue<T>(Index, out T)
Gets the element’s value at the specified position.
public bool TryGetValue<T>(Index index, out T? value)
| Parameter | Description |
|---|---|
| T | Type of the return value. |
| index | The index of the element value to retrieve, which is either from the beginning or the end of the sequence. |
| value | When this method returns, contains the value at the specified position (index); otherwise, contains the default value for the type of the value parameter. |
Return Value
true if the element value could be extracted; otherwise, false.
See Also
- interface IElement
- namespace Aspose.Medical.Dicom.Elements
- assembly Aspose.Medical