'Declaration
Public Function Insert( _
ByVal As DicomVRType, _
ByVal As String, _
ByVal As Integer, _
ByVal As DicomVRRestriction, _
ByVal 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)
function Leadtools.Dicom.DicomVRTable.Insert(
code ,
name ,
length ,
restriction ,
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.
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