Leadtools.Dicom.Common.Validation Namespace > DicomVRValidation Class : IsValidVRValue Method |
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 )
true
if values are valid for the specified VR; otherwise, false
.