ParserErrorCollection.Item[Int32] Property

Definition

Gets or sets the ParserError object at the specified index within the collection.

public:
 property System::Web::ParserError ^ default[int] { System::Web::ParserError ^ get(int index); void set(int index, System::Web::ParserError ^ value); };
public System.Web.ParserError this[int index] { get; set; }
member this.Item(int) : System.Web.ParserError with get, set
Default Public Property Item(index As Integer) As ParserError

Parameters

index
Int32

The index within the collection of the ParserError object to get or set.

Property Value

The ParserError at the specified index within the collection.

Remarks

Use the Item[Int32] property to retrieve the ParserError object at the specified index within the collection. When you have a reference to the ParserError object and need the index, use the IndexOf method.

Applies to