- element
- An item in the Data Set.
- value
- Buffer that contains the binary value to set.
- length
- Value that represents the length, in bytes, of the buffer you allocated.
Visual Basic (Declaration) | |
---|---|
Overloads Public Function SetBinaryValue( _ ByVal element As DicomElement, _ ByVal value As IntPtr, _ ByVal length As Integer _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- element
- An item in the Data Set.
- value
- Buffer that contains the binary value to set.
- length
- Value that represents the length, in bytes, of the buffer you allocated.
Return Value
true if the binary value of the Data Element was set successfully. false if could not set the binary value of the Data Element.For an example, refer to DicomDataSet.SetIntValue(DicomElement,IntPtr,Int32).
This method overwrites the value of the Data Element. The Value Length of the Data
Element is then equal to length.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
Reference
DicomDataSet ClassDicomDataSet Members
Overload List
SetValue Method
SetBinaryValue(DicomElement,Byte[],Int32) Method
SetStringValue(DicomElement,String[],DicomCharacterSetType) Method
SetShortValue(DicomElement,Int16[],Int32) Method
SetIntValue(DicomElement,Int32[],Int32) Method
SetFloatValue(DicomElement,Single[],Int32) Method
SetDoubleValue(DicomElement,Double[],Int32) Method
SetAgeValue Method
SetDateValue(DicomElement,DicomDateValue[]) Method
SetTimeValue(DicomElement,DicomTimeValue[]) Method
SetDateTimeValue(DicomElement,DicomDateTimeValue[]) Method
SetConvertValue Method