LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

Insert Method (DicomVRTable)








Code that indicates the type of value to be stored in the data element.
The name of the value representation. For examples of Value Representation Names, refer to the Default Value Representation Table.
The length of the value to be stored in the data element
Restrictions on the length.
The size of the smallest item to be stored in the value field of the data element
Inserts a new item in the Value Representation Table. .NET support WinRT support Silverlight support
Syntax
public DicomVR Insert( 
   DicomVRType code,
   string name,
   int length,
   DicomVRRestriction restriction,
   int unitSize
)
'Declaration
 
Public Function Insert( _
   ByVal code As DicomVRType, _
   ByVal name As String, _
   ByVal length As Integer, _
   ByVal restriction As DicomVRRestriction, _
   ByVal unitSize As Integer _
) As DicomVR
'Usage
 
Dim instance As DicomVRTable
Dim code As DicomVRType
Dim name As String
Dim length As Integer
Dim restriction As DicomVRRestriction
Dim unitSize As Integer
Dim value As DicomVR
 
value = instance.Insert(code, name, length, restriction, unitSize)
public DicomVR Insert( 
   DicomVRType code,
   string name,
   int length,
   DicomVRRestriction restriction,
   int unitSize
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomVRTable.Insert( 
   code ,
   name ,
   length ,
   restriction ,
   unitSize 
)
public:
DicomVR^ Insert( 
   DicomVRType code,
   String^ name,
   int length,
   DicomVRRestriction restriction,
   int unitSize
) 

Parameters

code
Code that indicates the type of value to be stored in the data element.
name
The name of the value representation. For examples of Value Representation Names, refer to the Default Value Representation Table.
length
The length of the value to be stored in the data element
restriction
Restrictions on the length.
unitSize
The size of the smallest item to be stored in the value field of the data element

Return Value

DicomVR class if the method was successful; otherwise, null.
Remarks
Example
For an example, refer to Reset.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomVRTable Class
DicomVRTable Members
Delete Method
Reset Method
Default Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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