PerspectiveAttributeCollection.Item Propiedad (String)
Gets the PerspectiveAttribute that has the specified identifier from the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- attributeId
Tipo: System.String
The identifier of the PerspectiveAttribute to return.
Valor de la propiedad
Tipo: Microsoft.AnalysisServices.PerspectiveAttribute
The PerspectiveAttribute specified by the identifier.
Excepciones
Excepción | Condición |
---|---|
ArgumentNullException | attributeID is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | attributeID does not exist in the collection. |