LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
SetConvertValue Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class : SetConvertValue Method



element
An item in the Data Set.
value
Character string that contains the string to be converted to one or more values.
count
Value that represents the number of values in value.
element
An item in the Data Set.
value
Character string that contains the string to be converted to one or more values.
count
Value that represents the number of values in value.
Converts a string and sets the value of an element. Supported in Silverlight, Windows Phone 7.

Syntax

Visual Basic (Declaration) 
Public Function SetConvertValue( _
   ByVal element As DicomElement, _
   ByVal value As String, _
   ByVal count As Integer _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim element As DicomElement
Dim value As String
Dim count As Integer
Dim value As Boolean
 
value = instance.SetConvertValue(element, value, count)
C# 
public bool SetConvertValue( 
   DicomElement element,
   string value,
   int count
)
C++/CLI 
public:
bool SetConvertValue( 
   DicomElement^ element,
   String^ value,
   int count
) 

Parameters

element
An item in the Data Set.
value
Character string that contains the string to be converted to one or more values.
count
Value that represents the number of values in value.

Return Value

true if the method completed successfully. false otherwise.

Example

For an example, refer to DicomDataSet.SetIntValue.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features