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 |
---|---|
|
Managed Extensions for C++ | |
---|---|
public: bool SetBinaryValue( DicomElement* element, IntPtr value, int length ) |
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 SetIntValue.
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 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
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 Method
SetTimeValue Method
SetDateTimeValue Method
SetConvertValue Method