DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomDataSet Class / Value Method / Value(String) Method

The String Keyword of the DicomAttribute







In This Topic
    Value(String) Method
    In This Topic
    Returns the value of the specified Data Element
    Syntax
    'Declaration
     
    
    Public Overloads Function Value( _
       ByVal Keyword As System.String _
    ) As System.Object
    'Usage
     
    
    Dim instance As DicomDataSet
    Dim Keyword As System.String
    Dim value As System.Object
     
    value = instance.Value(Keyword)
    public System.object Value( 
       System.string Keyword
    )
    public function Value( 
        Keyword: System.String
    ): System.TObject; 
    public function Value( 
       Keyword : System.String
    ) : System.Object;
    public: System.Object* Value( 
       System.string* Keyword
    ) 
    public:
    System.Object^ Value( 
       System.String^ Keyword
    ) 

    Parameters

    Keyword

    The String Keyword of the DicomAttribute

    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: .NET CLR 4.8 or higher

    See Also