IsValidVRValue Method

Summary
Determines whether a list of values for the VR is valid.
Syntax
C#
C++/CLI
public static bool IsValidVRValue( 
   DicomVRType vr, 
   List<string> values, 
   out string 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

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

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