Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CompilerErrorCollection::Item Property (Int32)

 

Gets or sets the CompilerError at the specified index.

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

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

Parameters

index
Type: System::Int32

The zero-based index of the entry to locate in the collection.

Property Value

Type: System.CodeDom.Compiler::CompilerError^

A CompilerError at each valid index.

Exception Condition
ArgumentOutOfRangeException

The index value indicated by the index parameter is outside the valid range of indexes for the collection.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft