CodeParameterDeclarationExpressionCollection.Item[Int32] 属性

定义

获取或设置 CodeParameterDeclarationExpression 集合中的指定索引处。

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

参数

index
Int32

要访问的集合的索引。

属性值

每个有效索引处的 A CodeParameterDeclarationExpression

例外

index 参数超出了集合的有效索引范围。

注解

此方法是可用于访问集合的索引器。

适用于