Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
DeleteSignature Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class : DeleteSignature Method



signatureItem
The Digital Signatures Sequence Item that corresponds to the Digital Signature to be removed from the Data Set. To remove all the Digital Signatures in the entire Data Set, set this parameter to null.
signatureItem
The Digital Signatures Sequence Item that corresponds to the Digital Signature to be removed from the Data Set. To remove all the Digital Signatures in the entire Data Set, set this parameter to null.
Removes one or all Digital Signatures from the Data Set.

Syntax

Visual Basic (Declaration) 
Public Sub DeleteSignature( _
   ByVal signatureItem As DicomElement _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim signatureItem As DicomElement
 
instance.DeleteSignature(signatureItem)
C# 
public void DeleteSignature( 
   DicomElement signatureItem
)
C++/CLI 
public:
void DeleteSignature( 
   DicomElement^ signatureItem
) 

Parameters

signatureItem
The Digital Signatures Sequence Item that corresponds to the Digital Signature to be removed from the Data Set. To remove all the Digital Signatures in the entire Data Set, set this parameter to null.

Example

For an example, refer to FindSignature.

Remarks

Call this method to remove a single Digital Signature by specifying the corresponding Digital Signatures Sequence Item. The method will delete the specified item from the Data Set. The Message Authentication Code (MAC) Parameters Sequence Item that was referenced by the deleted Digital Signatures Sequence Item will also be deleted if it is not referenced by a Digital Signatures Sequence Item anymore.

Call this method to remove all the Digital Signatures that exist in the Data Set by passing null to the method. In this case, all the MAC Parameters Sequence (4FFE,0001) and the Digital Signatures Sequence (FFFA,FFFA) Data Elements that exist in the Data Set will be deleted.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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