共用方式為


AggregationInstanceMeasureCollection.Item 屬性 (String)

Gets the specified AggregationInstanceMeasure object from the collection.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public ReadOnly Default Property Item ( _
    measureId As String _
) As AggregationInstanceMeasure 
    Get
'用途
Dim instance As AggregationInstanceMeasureCollection 
Dim measureId As String 
Dim value As AggregationInstanceMeasure 

value = instance(measureId)
public AggregationInstanceMeasure this[
    string measureId
] { get; }
public:
property AggregationInstanceMeasure^ default[String^ measureId] {
    AggregationInstanceMeasure^ get (String^ measureId);
}
member Item : AggregationInstanceMeasure
JScript 支援索引屬性的使用,但不支援新屬性的宣告。

參數

屬性值

型別:Microsoft.AnalysisServices.AggregationInstanceMeasure
The selected AggregationInstanceMeasure object.

例外狀況

例外狀況 條件
ArgumentNullException

measureId is a null reference (Nothing in Visual Basic).

ItemNotFoundException

measureId does not exist in the collection.

請參閱

參考

AggregationInstanceMeasureCollection 類別

Item 多載

Microsoft.AnalysisServices 命名空間