PropertyCollection.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.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.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 支持使用索引属性,但不支持声明新索引属性。

参数

属性值

类型:Microsoft.AnalysisServices.AdomdClient.Property
The Property with the specified name.

请参阅

参考

PropertyCollection 类

Item 重载

Microsoft.AnalysisServices.AdomdClient 命名空间