LEADTOOLS Medical (Leadtools.Medical.Storage.DataAccessLayer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AddInstanceRow(String,Int32,String,String,String,String,SeriesRow,DateTime,String) Method
See Also 
Leadtools.Medical.Storage.DataAccessLayer Namespace > CompositeInstanceDataSet.InstanceDataTable Class > AddInstanceRow Method : AddInstanceRow(String,Int32,String,String,String,String,SeriesRow,DateTime,String) Method



SOPInstanceUID
A System.String representing the SOP Instance UID.
InstanceNumber
Type: System.Int32. The Instance Number.
ReferencedFile
A System.String representing the Referenced File.
TransferSyntax
A System.String representing the Transfer Syntax.
SOPClassUID
A System.String representing the SOP Class UID.
StationName
A System.String representing the Station Name.
parentSeriesRowByFK_Series_Instance
Type: CompositeInstanceDataSet.SeriesRow. The parent Series for this row.
ReceiveDate
Type: System.DateTime. The Receive Date.
RetrieveAETitle
A System.String representing the Retrieve AE Title.
SOPInstanceUID
A System.String representing the SOP Instance UID.
InstanceNumber
Type: System.Int32. The Instance Number.
ReferencedFile
A System.String representing the Referenced File.
TransferSyntax
A System.String representing the Transfer Syntax.
SOPClassUID
A System.String representing the SOP Class UID.
StationName
A System.String representing the Station Name.
parentSeriesRowByFK_Series_Instance
Type: CompositeInstanceDataSet.SeriesRow. The parent Series for this row.
ReceiveDate
Type: System.DateTime. The Receive Date.
RetrieveAETitle
A System.String representing the Retrieve AE Title.
Adds a new CompositeInstanceDataSet.InstanceRow to the System.Data.DataTable.Rows collection.

Syntax

Visual Basic (Declaration) 
<DebuggerNonUserCodeAttribute()>
Overloads Public Function AddInstanceRow( _
   ByVal SOPInstanceUID As String, _
   ByVal InstanceNumber As Integer, _
   ByVal ReferencedFile As String, _
   ByVal TransferSyntax As String, _
   ByVal SOPClassUID As String, _
   ByVal StationName As String, _
   ByVal parentSeriesRowByFK_Series_Instance As CompositeInstanceDataSet.SeriesRow, _
   ByVal ReceiveDate As Date, _
   ByVal RetrieveAETitle As String _
) As CompositeInstanceDataSet.InstanceRow
Visual Basic (Usage)Copy Code
Dim instance As CompositeInstanceDataSet.InstanceDataTable
Dim SOPInstanceUID As String
Dim InstanceNumber As Integer
Dim ReferencedFile As String
Dim TransferSyntax As String
Dim SOPClassUID As String
Dim StationName As String
Dim parentSeriesRowByFK_Series_Instance As CompositeInstanceDataSet.SeriesRow
Dim ReceiveDate As Date
Dim RetrieveAETitle As String
Dim value As CompositeInstanceDataSet.InstanceRow
 
value = instance.AddInstanceRow(SOPInstanceUID, InstanceNumber, ReferencedFile, TransferSyntax, SOPClassUID, StationName, parentSeriesRowByFK_Series_Instance, ReceiveDate, RetrieveAETitle)

Parameters

SOPInstanceUID
A System.String representing the SOP Instance UID.
InstanceNumber
Type: System.Int32. The Instance Number.
ReferencedFile
A System.String representing the Referenced File.
TransferSyntax
A System.String representing the Transfer Syntax.
SOPClassUID
A System.String representing the SOP Class UID.
StationName
A System.String representing the Station Name.
parentSeriesRowByFK_Series_Instance
Type: CompositeInstanceDataSet.SeriesRow. The parent Series for this row.
ReceiveDate
Type: System.DateTime. The Receive Date.
RetrieveAETitle
A System.String representing the Retrieve AE Title.

Return Value

The CompositeInstanceDataSet.InstanceRow which is added to the System.Data.DataTable.Rows collection.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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