←Select platform

GetValue<T>(long,T,out T) Method

Summary

Returns the value of a DICOM element

Syntax
C#
VB
C++
public DicomDataSet GetValue<T>( 
   long tag, 
   T defaultValue, 
   out T value 
) 
Public Overloads Function GetValue(Of T)( _ 
   ByVal tag As Long, _ 
   ByVal defaultValue As T, _ 
   ByRef value As T _ 
) As DicomDataSet 
public: 
DicomDataSet^ GetValuegeneric<typename T> 
(  
   int64 tag, 
   T^ defaultValue, 
   [Out] T^ value 
)  

Parameters

tag
tag of the item to find.

defaultValue
a value of type T that is returned if the actual value cannot be retrieved.

value
reference to an object that will be updated with the value.

Type Parameters

T
specifies the type of the value to return

Return Value

a reference to the DicomDataSet

Remarks

For information on this method, see GetValue.

Example

For an example, refer to DicomDataSet.GetValue{T}(DicomElement, T)

Requirements

Target Platforms

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly