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.

CodeAttributeDeclarationCollection::Item Property (Int32)

 

Gets or sets the CodeAttributeDeclaration object at the specified index.

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

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

Parameters

index
Type: System::Int32

The index of the collection to access.

Property Value

Type: System.CodeDom::CodeAttributeDeclaration^

A CodeAttributeDeclaration at each valid index.

Exception Condition
ArgumentOutOfRangeException

The index parameter 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 1.1
Return to top
Show:
© 2017 Microsoft