I am getting Option Strict On disallows implicit conversions from 'Boolean' to 'String' on the following line of code.
strCitationNumbers = Msc.Integration.Mncis.Library.v4.Citation.GetCaseN umbersForCitation(strCitationNumber, False)
How do I solve this?
My code
Code:
If Not blnInvalid Then
'Check if the citation is a duplicate
strCitationNumbers = Msc.Integration.Mncis.Library.v4.Citation.GetCaseNumbersForCitation(strCitationNumber, False)
If (strCitationNumbers(0) <> "No Matching Case") Then
'add the error message
CType(objXMLCitationNode, XmlElement).SetAttribute("validationError", "This is a duplicate citation.")
End If
End If