AdomdRestrictionCollection.Item 属性
Gets or sets the specified AdomdRestriction from the collection by its index. In Microsoft Visual C#, this property is the indexer for the AdomdRestrictionCollection class.
命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)
语法
声明
Public Default Property Item ( _
index As Integer _
) As AdomdRestriction
Get
Set
用法
Dim instance As AdomdRestrictionCollection
Dim index As Integer
Dim value As AdomdRestriction
value = instance(index)
instance(index) = value
public AdomdRestriction this[
int index
] { get; set; }
public:
property AdomdRestriction^ default[int index] {
AdomdRestriction^ get (int index);
void set (int index, AdomdRestriction^ value);
}
member Item : AdomdRestriction with get, set
JScript 支持使用索引属性,但不支持声明新索引属性。
参数
- index
类型:System.Int32
The zero-based index of the AdomdRestriction to find.
属性值
类型:Microsoft.AnalysisServices.AdomdClient.AdomdRestriction
The element at the specified index.