Leadtools.Dicom.Common
LEAD Technologies, Inc

IsValidVRValue Method






The VR to check against the values.
The values to check.
The error message if the validation failed.
Determines whether list of values for the VR is valid.
Syntax
public static bool IsValidVRValue( 
   DicomVRType vr,
   List<string> values,
   out string errorMessage
)
'Declaration
 
Public Shared Function IsValidVRValue( _
   ByVal vr As DicomVRType, _
   ByVal values As List(Of String), _
   ByRef errorMessage As String _
) As Boolean
'Usage
 
Dim vr As DicomVRType
Dim values As List(Of String)
Dim errorMessage As String
Dim value As Boolean
 
value = DicomVRValidation.IsValidVRValue(vr, values, errorMessage)
public static bool IsValidVRValue( 
   DicomVRType vr,
   List<string> values,
   out string errorMessage
)
 function Leadtools.Dicom.Common.Validation.DicomVRValidation.IsValidVRValue( 
   vr ,
   values ,
   errorMessage 
)
public:
static bool IsValidVRValue( 
   DicomVRType vr,
   List<String^>^ values,
   [Out] String^ errorMessage
) 

Parameters

vr
The VR to check against the values.
values
The values to check.
errorMessage
The error message if the validation failed.

Return Value

true if values are valid for the specified VR; otherwise, false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomVRValidation Class
DicomVRValidation Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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