This documentation is archived and is not being maintained.

ParserErrorCollection::Item Property

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

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public:
property ParserError^ Item[int index] {
	ParserError^ get (int index);
	void set (int index, ParserError^ value);
}

Parameters

index
Type: System::Int32

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

Property Value

Type: System.Web::ParserError
The ParserError at the specified index within the collection.

Use the Item 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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: