Propriété PerspectiveAttributeCollection.Item (String)
Gets the PerspectiveAttribute that has the specified identifier from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
attributeId As String _
) As PerspectiveAttribute
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- attributeId
Type : System.String
The identifier of the PerspectiveAttribute to return.
Valeur de propriété
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. |