CodeTypeParameterCollection::Item Property (Int32)

 

Gets or sets the CodeTypeParameter object at the specified index in the collection.

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

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

Parameters

index
Type: System::Int32

The zero-based index of the collection object to access.

Property Value

Type: System.CodeDom::CodeTypeParameter^

The CodeTypeParameter object at the specified index.

Exception Condition
ArgumentOutOfRangeException

index is outside the valid range of indexes for the collection.

This property is an indexer that can be used to access the collection.

.NET Framework
Available since 2.0
Return to top
Show: