API-Dokumentation > Feature element trees > Object ProElement > Function ProElementDiagnosticsCollect
Function ProElementDiagnosticsCollect
Description
Obtains a list of the element diagnostics for the element. These contain warnings and errors regarding the value of the element, within the context of the feature and remainder of the element tree.
Synopsis
#include <ProElement.h>
ProElementDiagnosticsCollect
(
ProElement element
/* (In)
The element.
*/
ProElemdiagnostic** diagnostics
/* (Out)
A ProArray containing any potential problems associated to this element or its value. Free this using ProElemdiagnosticProarrayFree.
*/
)
Returns
The function succeeded. PRO_TK_E_NOT_FOUND -The size of diagnostic array is zero.
One or more input arguments was invalid.
User Guide References
War dies hilfreich?