Visual Basic (Declaration) | |
---|---|
Overloads Public Function GetBinaryValue( _ ByVal element As DicomElement, _ ByVal value As IntPtr, _ ByVal length As Integer _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
Managed Extensions for C++ | |
---|---|
public: bool GetBinaryValue( DicomElement* element, IntPtr value, int length ) |
Parameters
- element
- An item in the Data Set.
- value
- Pointer to a buffer that will be updated with the binary value associated with the specified item in the Data Set. The user is responsible to allocate the memory for this buffer.
- length
- Number of bytes, from the binary value, to write to the buffer.
Return Value
true if the method was able to update the buffer with the binary value; otherwise, false.If the length specified by the DicomElement.Length property is greater than length, then the binary value copied to the buffer will be truncated to the smaller length. If the the length specified by DicomElement.Length is less than length, then the entire binary value of element will be copied to the buffer.
This method can be called for every Value Representation, and it will return the exact value in the Value Field (unconverted).
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Reference
DicomDataSet ClassDicomDataSet Members
Overload List
GetBinaryValue(DicomElement,Byte[],Int32,Int32) Method
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