VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Dicom Namespace / DicomDataElementCollection Class / TryGetData Methods / TryGetData(UInt16,UInt16,DicomDataSetCollection) Method
Syntax Requirements SeeAlso
In This Topic
    TryGetData(UInt16,UInt16,DicomDataSetCollection) Method (DicomDataElementCollection)
    In This Topic
    Tries to retrieve the value for the specified DicomDataElement in the collection.
    Syntax
    'Declaration
    
    Public Overloads Function TryGetData( _
    ByVal groupNumber
    Group number.
    As UShort, _
    ByVal elementNumber
    Element number.
    As UShort, _
    ByRef value
    The value of data element.
    As DicomDataSetCollection _
    ) As Boolean
    public: bool TryGetData(
    ushort groupNumber,
    ushort elementNumber,
    [PARAMFLAG::Out] DicomDataSetCollection* value
    )

    Parameters

    groupNumber
    Group number.
    elementNumber
    Element number.
    value
    The value of data element.

    Return Value

    True if value is retrieved; otherwise, false.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also