Proprietà AnnotationCollection.Item (String)
Gets the Annotation, with the specified name, from the collection.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
name As String _
) As Annotation
Get
'Utilizzo
Dim instance As AnnotationCollection
Dim name As String
Dim value As Annotation
value = instance(name)
public Annotation this[
string name
] { get; }
public:
property Annotation^ default[String^ name] {
Annotation^ get (String^ name);
}
member Item : Annotation
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- name
Tipo: System.String
The name of the Annotation to be returned.
Valore proprietà
Tipo: Microsoft.AnalysisServices.Annotation
The Annotation specified by name.
Eccezioni
Eccezione | Condizione |
---|---|
ArgumentNullException | name is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | name does not exist in the collection. |