Item 属性 (String)

Gets the PerspectiveMeasure that has the specified identifier from the collection.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public ReadOnly Default Property Item ( _
    measureId As String _
) As PerspectiveMeasure
    Get
用法
Dim instance As PerspectiveMeasureCollection
Dim measureId As String
Dim value As PerspectiveMeasure

value = instance(measureId)
public PerspectiveMeasure this[
    string measureId
] { get; }
public:
property PerspectiveMeasure^ default[String^ measureId] {
    PerspectiveMeasure^ get (String^ measureId);
}
member Item : PerspectiveMeasure
JScript 支持使用索引属性,但不支持声明新索引属性。

参数

属性值

类型:Microsoft.AnalysisServices. . :: . .PerspectiveMeasure
The PerspectiveMeasure specified by the identifier.

异常

异常 条件
ArgumentNullException

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

ItemNotFoundException

measureID does not exist in the collection.