PerspectiveAttributeCollection.Item Property (String)

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

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    attributeId As String _
) As PerspectiveAttribute
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

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

Exceptions

Exception Condition
ArgumentNullException

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

ItemNotFoundException

attributeID does not exist in the collection.