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.

CodeDirectiveCollection::Item Property (Int32)

 

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

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

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

Parameters

index
Type: System::Int32

The index position to access.

Property Value

Type: System.CodeDom::CodeDirective^

The CodeDirective at the index position.

Exception Condition
ArgumentOutOfRangeException

index is outside the valid range of index positions 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:
© 2017 Microsoft