public bool SetBinaryValue(
DicomElement element,
IntPtr value,
uint length
)
public boolean setBinaryValue(DicomElement element, byte[] binaryValue, int length)
public:
bool SetBinaryValue(
DicomElement^ element,
IntPtr value,
uint length
)
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.
true if the binary value of the Data Element was set successfully. false if could not set the binary value of the Data Element.
This method overwrites the value of the Data Element. The Value Length of the Data Element is then equal to length.
SetBinaryValue(DicomElement,Byte[],Int32) Method
SetStringValue(DicomElement,string) Method
SetStringValue(DicomElement,string,DicomCharacterSetType) Method
SetStringValue(DicomElement,string[]) Method
SetStringValue(DicomElement,string[],DicomCharacterSetType) Method
SetStringValuePtr(DicomElement,IntPtr,int) Method
SetStringValuePtr(DicomElement,IntPtr,int,DicomCharacterSetType) Method
SetShortValue(DicomElement,Int16[],Int32) Method
SetIntValue(DicomElement,Int32[],Int32) Method
SetFloatValue(DicomElement,Single[],Int32) Method
SetDoubleValue(DicomElement,Double[],Int32) Method
SetDateValue(DicomElement,DicomDateValue[]) Method
SetTimeValue(DicomElement,DicomTimeValue[]) Method