Condividi tramite


Proprietà Item (String)

Gets the CubeAttribute, with the specified identifier, from the collection.

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

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    attributeId As String _
) As CubeAttribute
    Get
'Utilizzo
Dim instance As CubeAttributeCollection
Dim attributeId As String
Dim value As CubeAttribute

value = instance(attributeId)
public CubeAttribute this[
    string attributeId
] { get; }
public:
property CubeAttribute^ default[String^ attributeId] {
    CubeAttribute^ get (String^ attributeId);
}
member Item : CubeAttribute
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

Tipo: Microsoft.AnalysisServices. . :: . .CubeAttribute
The CubeAttribute specified by the identifier.

Eccezioni

Eccezione Condizione
ArgumentNullException

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

ItemNotFoundException

attributeID does not exist in the collection.