Edit

Share via


FormErrorCollection.Item[Int32] Property

Definition

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.

Applies to