MeasureCollection.Item 屬性 (String)
Gets the specified Measure from the collection by its name. In Microsoft Visual C#, this property is the indexer for the MeasureCollection class.
命名空間: Microsoft.AnalysisServices.AdomdServer
組件: msmgdsrv (在 msmgdsrv.dll 中)
語法
'宣告
Public ReadOnly Default Property Item ( _
name As String _
) As Measure
Get
'用途
Dim instance As MeasureCollection
Dim name As String
Dim value As Measure
value = instance(name)
public Measure this[
string name
] { get; }
public:
property Measure^ default[String^ name] {
Measure^ get (String^ name);
}
member Item : Measure
JScript 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- name
型別:System.String
The name of the Measure to find.
屬性值
型別:Microsoft.AnalysisServices.AdomdServer.Measure
The Measure with the specified name.