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



vr
The VR to get the error message for.
vr
The VR to get the error message for.
Gets the error message or a specific VR.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetErrorMessage( _
   ByVal vr As DicomVRType _
) As String
Visual Basic (Usage)Copy Code
Dim vr As DicomVRType
Dim value As String
 
value = DicomVRValidation.GetErrorMessage(vr)
C# 
public static string GetErrorMessage( 
   DicomVRType vr
)
C++/CLI 
public:
static String^ GetErrorMessage( 
   DicomVRType vr
) 

Parameters

vr
The VR to get the error message for.

Return Value

A validation error message if the VR failed validation.

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