LEADTOOLS Medical (Leadtools.Medical.Workstation assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Remove(ModalityType) Method
See Also 
Leadtools.Medical.Workstation Namespace > ModalityOptionsCollection Class > Remove Method : Remove(ModalityType) Method




modality
The Leadtools.Dicom.Common.DataTypes.ModalityType object that represents the Dictionary key.
modality
The Leadtools.Dicom.Common.DataTypes.ModalityType object that represents the Dictionary key.
Removes the specified Leadtools.Dicom.Common.DataTypes.ModalityType from the ModalityOptionsCollection.

Syntax

Visual Basic (Declaration) 
Overloads Public Function Remove( _
   ByVal modality As ModalityType _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ModalityOptionsCollection
Dim modality As ModalityType
Dim value As Boolean
 
value = instance.Remove(modality)
C# 
public bool Remove( 
   ModalityType modality
)
Managed Extensions for C++ 
public: bool Remove( 
   ModalityType modality
) 
C++/CLI 
public:
bool Remove( 
   ModalityType modality
) 

Parameters

modality
The Leadtools.Dicom.Common.DataTypes.ModalityType object that represents the Dictionary key.

Return Value

true if the specified modality was removed; otherwise, it is false.

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