IsValidVRValue Method

Summary
Determines whether a list of values for the VR is valid.
Syntax
C#
VB
C++
public static bool IsValidVRValue( 
   DicomVRType vr, 
   List<string> values, 
   out string errorMessage 
) 
Public Shared Function IsValidVRValue( _ 
   ByVal vr As DicomVRType, _ 
   ByVal values As List(Of String), _ 
   ByRef errorMessage As String _ 
) As Boolean 
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

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.