Set(DicomDataSet,BeforeAddTagDelegate,object[]) Method

Summary

Sets the information in the data set from the specified class instances.

Syntax
C#
VB
C++
public static void Set( 
   this DicomDataSet ds, 
   BeforeAddTagDelegate OnBeforeAdd, 
   object[] instances 
) 
<ExtensionAttribute()> 
Public Overloads Shared Sub Set( _ 
   ByVal ds As DicomDataSet, _ 
   ByVal OnBeforeAdd As BeforeAddTagDelegate, _ 
   ByVal ParamArray instances() As Object _ 
)  
[ExtensionAttribute()] 
public: 
static void Set(  
   DicomDataSet^ ds, 
   BeforeAddTagDelegate^ OnBeforeAdd, 
   ... array<Object^>^ instances 
)  

Parameters

ds
The data set to set information into.

OnBeforeAdd
The delegate to call before adding the element to the data set.

instances
The instances that have the correct attributes.

Remarks

The delegate can return false to disable adding the element to the data set.

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly