Leadtools.Dicom.Common Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
SetErrorMessage Method
See Also 
Leadtools.Dicom.Common.Validation Namespace > DicomVRValidation Class : SetErrorMessage Method



vr
The VR to set the message for.
message
A descriptive validation error.
vr
The VR to set the message for.
message
A descriptive validation error.
Sets the error message for a specific VR.

Syntax

Visual Basic (Declaration) 
Public Shared Sub SetErrorMessage( _
   ByVal vr As DicomVRType, _
   ByVal message As String _
) 
Visual Basic (Usage)Copy Code
Dim vr As DicomVRType
Dim message As String
 
DicomVRValidation.SetErrorMessage(vr, message)
C# 
public static void SetErrorMessage( 
   DicomVRType vr,
   string message
)
C++/CLI 
public:
static void SetErrorMessage( 
   DicomVRType vr,
   String^ message
) 

Parameters

vr
The VR to set the message for.
message
A descriptive validation error.

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