Compartilhar via


Propriedade do RDL PerspectiveAttributeCollection.Item (String)

Gets the PerspectiveAttribute that has the specified identifier from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    attributeId As String _
) As PerspectiveAttribute 
    Get
'Uso
Dim instance As PerspectiveAttributeCollection 
Dim attributeId As String 
Dim value As PerspectiveAttribute 

value = instance(attributeId)
public PerspectiveAttribute this[
    string attributeId
] { get; }
public:
property PerspectiveAttribute^ default[String^ attributeId] {
    PerspectiveAttribute^ get (String^ attributeId);
}
member Item : PerspectiveAttribute
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

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

Exceções

Exceção Condição
ArgumentNullException

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

ItemNotFoundException

attributeID does not exist in the collection.

Consulte também

Referência

PerspectiveAttributeCollection Classe

Sobrecarregado Item

Namespace Microsoft.AnalysisServices