- element
- An item in the Data Set.
Visual Basic (Declaration) | |
---|---|
Public Function GetElementValueCount( _ ByVal element As DicomElement _ ) As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DicomDataSet Dim element As DicomElement Dim value As Integer value = instance.GetElementValueCount(element) |
C# | |
---|---|
public int GetElementValueCount( DicomElement element ) |
C++/CLI | |
---|---|
public: int GetElementValueCount( DicomElement^ element ) |
Parameters
- element
- An item in the Data Set.
Return Value
The number of values stored in the Value Field of the specified element.For an example, refer to DicomDataSet.SetIntValue.
For more information on retrieving multiple values from the Value Field, refer to the DicomDataSet.GetxxxValue or DicomDataSet.GetxxxValuePtr methods.
To minimize memory use in your application, you can free the memory allocated for this method to return the value by calling FreeElementValue following the call to this method.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)
Reference
DicomDataSet ClassDicomDataSet Members
GetValue
GetBinaryValue(DicomElement,Int32) Method
GetByteValue Method
GetShortValue Method
GetLongValue Method
GetIntValue Method
GetFloatValue Method
GetDoubleValue Method
GetStringValue Method
GetAgeValue Method
GetDateValue Method
GetTimeValue Method
GetDateTimeValue Method
GetConvertValue Method