Item 属性 (String)

Gets the specified Property from the PropertyCollection collection by its name. In Microsoft Visual C#, this property is the indexer for the PropertyCollection class.

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

语法

声明
Public ReadOnly Default Property Item ( _
    name As String _
) As Property
    Get
用法
Dim instance As PropertyCollection
Dim name As String
Dim value As [Property]

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

参数