FormErrorCollection.Item[Int32] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a FormError object from the FormErrorCollection object associated with the current form by index value.
public:
abstract property Microsoft::Office::InfoPath::FormError ^ default[int] { Microsoft::Office::InfoPath::FormError ^ get(int index); };
public abstract Microsoft.Office.InfoPath.FormError this[int index] { get; }
member this.Item(int) : Microsoft.Office.InfoPath.FormError
Default Public MustOverride ReadOnly Property Item(index As Integer) As FormError
Parameters
- index
- Int32
The zero-based index of the FormError object to retrieve.
Property Value
A FormError object that represents an error in the form.
Exceptions
The index value was invalid (index
< 0 or index
> Count)
Remarks
This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.
This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.