PdsBatchAttrib::validatePdsBatchAttribMatchesTypes Method
Validates that the specified ID of the attribute corresponds to a valid attribute, and that the type matches the collection of types that is provided.
Syntax
client server public static boolean validatePdsBatchAttribMatchesTypes(PdsBatchAttribId _attribID, [container _expectedPDSBatchAttribTypes])
Run On
Called
Parameters
- _attribID
Type: PdsBatchAttribId Extended Data Type
The specified ID of the attribute to validate.
- _expectedPDSBatchAttribTypes
Type: container
A container that holds the expected types of attributes, specified in values of the PDSBatchAttribType enumeration; optional.
Return Value
Type: boolean
true if an attribute that has that ID exists and has one of the types that are specified in the _expectedPDSBatchAttribTypes parameter, if any types are specified; otherwise, false.