HasErrors Property
HasErrors Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
The HasErrors property returns true if ErrorString has been called on any of the data items. This property is read-only.
Applies To
Type Library
Exchange Web Storage System Forms 1.0 Type Library
DLL Implemented In
EXWFORM.DLL
Syntax
[Visual Basic]Property HasErrors As Boolean
[C++]HRESULT get_HasErrors(VARIANT_BOOL* pbHasErrors);
Parameters
- pbHasErrors
Returns the value of the property as a reference to a VARIANT_BOOL.
Remarks
Use the HasErrors property to test for errors before the update method is called.
Example
This example demonstrates a form that checks the HasErrors property before calling the update method.
<%
SUBJECT = "urn:schemas:mailheader:subject" oForm.Elements(SUBJECT).Error = "try again."
If Not oForm.HasErrors oForm.Update End If %>
Send us your feedback about the Microsoft Exchange Server 2003 SDK.
Build: June 2007 (2007.618.1)
© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.