 | IValidatorRESULTTYPEValidateAll(CAEXDocument, AutomationMLContainer, Boolean) Method |
Get Validation Information for all elements in the specified document, which have validation issues. The
IValidationResult provides detailed information about available Repair
Options and an additional Information Text. This method should be used, if the Document is loaded from an
AutomationML container. The Validation service will check validity of external references which are packed
parts of the container.
Namespace: Aml.Engine.Services.InterfacesAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
SyntaxIEnumerable<RESULTTYPE> ValidateAll(
CAEXDocument document,
AutomationMLContainer container,
bool generateLongDescription = false
)
Function ValidateAll (
document As CAEXDocument,
container As AutomationMLContainer,
Optional generateLongDescription As Boolean = false
) As IEnumerable(Of RESULTTYPE)
IEnumerable<RESULTTYPE>^ ValidateAll(
CAEXDocument^ document,
AutomationMLContainer^ container,
bool generateLongDescription = false
)
Parameters
- document CAEXDocument
- The CAEX document.
- container AutomationMLContainer
- The AutomationML container, containing the document source.
- generateLongDescription Boolean (Optional)
- if set to true generate long description for each validation issue.
Return Value
IEnumerableRESULTTYPE
A collection of validation information for CAEX objects. One CAEX object may have multiple
occurrences with different validation issues in this collection.
See Also