編輯

共用方式為


CodeCommentStatementCollection.Item[Int32] Property

Definition

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

public:
 property System::CodeDom::CodeCommentStatement ^ default[int] { System::CodeDom::CodeCommentStatement ^ get(int index); void set(int index, System::CodeDom::CodeCommentStatement ^ value); };
public System.CodeDom.CodeCommentStatement this[int index] { get; set; }
member this.Item(int) : System.CodeDom.CodeCommentStatement with get, set
Default Public Property Item(index As Integer) As CodeCommentStatement

Parameters

index
Int32

The index of the collection to access.

Property Value

A CodeCommentStatement object at each valid index.

Exceptions

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

Remarks

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

Applies to