Item propriété (String)
Gets the Annotation, with the specified name, from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
name As String _
) As Annotation
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- name
Type : System. . :: . .String
The name of the Annotation to be returned.
Valeur de la propriété
Type : Microsoft.AnalysisServices. . :: . .Annotation
The Annotation specified by name.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | name is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | name does not exist in the collection. |