DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomDataSet Class / Value Method / Value(Int32,Int32) Method

The group index of the specified Data Element

The element index of the specified Data Element




In This Topic
    Value(Int32,Int32) Method
    In This Topic
    Returns the value of the specified Data Element
    Syntax
    'Declaration
     
    
    Public Overloads Function Value( _
       ByVal group As Integer, _
       ByVal element As Integer _
    ) As Object
    'Usage
     
    
    Dim instance As DicomDataSet
    Dim group As Integer
    Dim element As Integer
    Dim value As Object
     
    value = instance.Value(group, element)
    public object Value( 
       int group,
       int element
    )
    public:
    Object^ Value( 
       int group,
       int element
    ) 

    Parameters

    group

    The group index of the specified Data Element

    element

    The element index of the specified Data Element

    Return Value

    object
    Remarks

    The type of variant returned depends on the value representation of the data element, and may be a string, date (for time, date or date-time), or a numeric type, including floating point values where appropriate.

    Data elements of types not known to the program, whether private elements, or attributes recently defined by DICOM return the string " Unknown Data Type".

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also