Condividi tramite


Proprietà 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.

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    name As String _
) As Property
    Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri