- tag
- tag of the item to find.
- defaultValue
- a value of type T that is returned if the actual value cannot be retrieved.
- getValueDelegate
- an optional delegate that converts that extracted data to any type
| Visual Basic (Declaration) | |
|---|---|
Overloads Public Function GetValue(Of T)( _ ByVal tag As Long, _ ByVal defaultValue As T, _ ByVal getValueDelegate As GetValueDelegate _ ) As T | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public T GetValue<T>( long tag, T defaultValue, GetValueDelegate getValueDelegate ) | |
| C++/CLI | |
|---|---|
public: T GetValuegeneric<typename T> ( long tag, T defaultValue, GetValueDelegate^ getValueDelegate ) | |
Parameters
- tag
- tag of the item to find.
- defaultValue
- a value of type T that is returned if the actual value cannot be retrieved.
- getValueDelegate
- an optional delegate that converts that extracted data to any type
Type Parameters
- T
- specifies the type of the value to return
Return Value
a value of type T that is the value of the DICOM elementFor an example, refer to GetValueDelegate.
For information on this method, see GetValue.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
Copy Code