CodeTypeMemberCollection::Item Property (Int32)

 

Gets or sets the CodeTypeMember at the specified index in the collection.

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

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

Parameters

index
Type: System::Int32

The index of the collection to access.

Property Value

Type: System.CodeDom::CodeTypeMember^

A CodeTypeMember at each valid index.

Exception Condition
ArgumentOutOfRangeException

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

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

.NET Framework
Available since 1.1
Return to top
Show: