ResultPropertyValueCollection.Item[Int32] 属性

定义

Item[Int32] 属性获取位于指定索引处的属性值。

public:
 property System::Object ^ default[int] { System::Object ^ get(int index); };
public object this[int index] { get; }
member this.Item(int) : obj
Default Public ReadOnly Property Item(index As Integer) As Object

参数

index
Int32

要检索的属性值的从零开始的索引。

属性值

属性值,它位于指定索引处。

注解

在 C# 中,此属性是 ResultPropertyValueCollection 类的索引器。

在 JScript 中,您可以使用某个类型定义的默认索引属性,但不能显式定义自己的属性。 但是,在类上指定 expando 属性会自动提供一个类型为 Object 且索引类型 String为 的默认索引属性。

适用于