Leadtools.Dicom.Common Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
BeforeAddTagDelegate Delegate
See Also 
Leadtools.Dicom.Common.Extensions Namespace : BeforeAddTagDelegate Delegate



parent
The list of parents for the tag. This will contain information if the tag is located in a sequence.
data
The value of tag.
tag
The tag code.
Optional delegate to be call before class information is added to dataset.

Syntax

Visual Basic (Declaration) 
Public Delegate Function BeforeAddTagDelegate( _
   ByVal parent As LinkedList(Of Long), _
   ByVal data As Object, _
   ByVal tag As Long _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As New BeforeAddTagDelegate(AddressOf HandlerMethod)
C# 
public delegate bool BeforeAddTagDelegate( 
   LinkedList<long> parent,
   object data,
   long tag
)
C++/CLI 
public delegate bool BeforeAddTagDelegate( 
   LinkedList<int64>^ parent,
   Object^ data,
   int64 tag
)

Parameters

parent
The list of parents for the tag. This will contain information if the tag is located in a sequence.
data
The value of tag.
tag
The tag code.

Return Value

Return true to add the tag to the dataset, false otherwise.

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.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features