T
The type of data to get from the DICOM dataset.
Leadtools.Dicom.Common Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Get<T>(DicomDataSet) Method
See Also 
Leadtools.Dicom.Common.Extensions Namespace > DicomExtensions Class > Get Method : Get<T>(DicomDataSet) Method



ds
The data set to read the information from.
ds
The data set to read the information from.
Gets the specified data from the DICOM dataset and assigns it in a new instance of T.

Syntax

Visual Basic (Declaration) 
<ExtensionAttribute()>
Overloads Public Shared Function Get(Of T)( _
   ByVal ds As DicomDataSet _
) As T
Visual Basic (Usage)Copy Code
Dim ds As DicomDataSet
Dim value As T
 
value = DicomExtensions.Get(Of T)(ds)
C# 
[ExtensionAttribute()]
public static T Get<T>( 
   DicomDataSet ds
)
C++/CLI 
[ExtensionAttribute()]
public:
static T^ Getgeneric<typename T>
( 
   DicomDataSet^ ds
) 

Parameters

ds
The data set to read the information from.

Type Parameters

T
The type of data to get from the DICOM dataset.

Return Value

A new instance of T with the information from the DICOM dataset.

Example

For an example refer to ElementAttribute

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features